@@ -421,7 +421,7 @@ public short ReadInt16(long offset)
421
421
public short [ ] ReadInt16s ( int count )
422
422
{
423
423
ReadBytesIntoBuffer ( count * 2 ) ;
424
- return EndianBitConverter . BytesToInt16s < short > ( _buffer , 0 , count , Endianness ) ;
424
+ return EndianBitConverter . BytesToInt16s ( _buffer , 0 , count , Endianness ) ;
425
425
}
426
426
public short [ ] ReadInt16s ( int count , long offset )
427
427
{
@@ -441,7 +441,7 @@ public ushort ReadUInt16(long offset)
441
441
public ushort [ ] ReadUInt16s ( int count )
442
442
{
443
443
ReadBytesIntoBuffer ( count * 2 ) ;
444
- return EndianBitConverter . BytesToInt16s < ushort > ( _buffer , 0 , count , Endianness ) ;
444
+ return EndianBitConverter . BytesToUInt16s ( _buffer , 0 , count , Endianness ) ;
445
445
}
446
446
public ushort [ ] ReadUInt16s ( int count , long offset )
447
447
{
@@ -461,7 +461,7 @@ public int ReadInt32(long offset)
461
461
public int [ ] ReadInt32s ( int count )
462
462
{
463
463
ReadBytesIntoBuffer ( count * 4 ) ;
464
- return EndianBitConverter . BytesToInt32s < int > ( _buffer , 0 , count , Endianness ) ;
464
+ return EndianBitConverter . BytesToInt32s ( _buffer , 0 , count , Endianness ) ;
465
465
}
466
466
public int [ ] ReadInt32s ( int count , long offset )
467
467
{
@@ -481,7 +481,7 @@ public uint ReadUInt32(long offset)
481
481
public uint [ ] ReadUInt32s ( int count )
482
482
{
483
483
ReadBytesIntoBuffer ( count * 4 ) ;
484
- return EndianBitConverter . BytesToInt32s < uint > ( _buffer , 0 , count , Endianness ) ;
484
+ return EndianBitConverter . BytesToUInt32s ( _buffer , 0 , count , Endianness ) ;
485
485
}
486
486
public uint [ ] ReadUInt32s ( int count , long offset )
487
487
{
@@ -501,7 +501,7 @@ public long ReadInt64(long offset)
501
501
public long [ ] ReadInt64s ( int count )
502
502
{
503
503
ReadBytesIntoBuffer ( count * 8 ) ;
504
- return EndianBitConverter . BytesToInt64s < long > ( _buffer , 0 , count , Endianness ) ;
504
+ return EndianBitConverter . BytesToInt64s ( _buffer , 0 , count , Endianness ) ;
505
505
}
506
506
public long [ ] ReadInt64s ( int count , long offset )
507
507
{
@@ -521,7 +521,7 @@ public ulong ReadUInt64(long offset)
521
521
public ulong [ ] ReadUInt64s ( int count )
522
522
{
523
523
ReadBytesIntoBuffer ( count * 8 ) ;
524
- return EndianBitConverter . BytesToInt64s < ulong > ( _buffer , 0 , count , Endianness ) ;
524
+ return EndianBitConverter . BytesToUInt64s ( _buffer , 0 , count , Endianness ) ;
525
525
}
526
526
public ulong [ ] ReadUInt64s ( int count , long offset )
527
527
{
@@ -541,7 +541,7 @@ public float ReadSingle(long offset)
541
541
public float [ ] ReadSingles ( int count )
542
542
{
543
543
ReadBytesIntoBuffer ( count * 4 ) ;
544
- return EndianBitConverter . BytesToSingles < float > ( _buffer , 0 , count , Endianness ) ;
544
+ return EndianBitConverter . BytesToSingles ( _buffer , 0 , count , Endianness ) ;
545
545
}
546
546
public float [ ] ReadSingles ( int count , long offset )
547
547
{
@@ -561,7 +561,7 @@ public double ReadDouble(long offset)
561
561
public double [ ] ReadDoubles ( int count )
562
562
{
563
563
ReadBytesIntoBuffer ( count * 8 ) ;
564
- return EndianBitConverter . BytesToDoubles < double > ( _buffer , 0 , count , Endianness ) ;
564
+ return EndianBitConverter . BytesToDoubles ( _buffer , 0 , count , Endianness ) ;
565
565
}
566
566
public double [ ] ReadDoubles ( int count , long offset )
567
567
{
@@ -581,7 +581,7 @@ public decimal ReadDecimal(long offset)
581
581
public decimal [ ] ReadDecimals ( int count )
582
582
{
583
583
ReadBytesIntoBuffer ( count * 16 ) ;
584
- return EndianBitConverter . BytesToDecimals < decimal > ( _buffer , 0 , count , Endianness ) ;
584
+ return EndianBitConverter . BytesToDecimals ( _buffer , 0 , count , Endianness ) ;
585
585
}
586
586
public decimal [ ] ReadDecimals ( int count , long offset )
587
587
{
0 commit comments