Пример #1
0
 // Token: 0x0600077B RID: 1915 RVA: 0x0000FA26 File Offset: 0x0000DC26
 public int ReadInt32(BinaryEndian endian = BinaryEndian.LittleEndian)
 {
     if (endian != BinaryEndian.BigEndian)
     {
         return(this._reader.ReadInt32());
     }
     return(BinaryStream.Endian(this._reader.ReadInt32()));
 }
Пример #2
0
 // Token: 0x0600077E RID: 1918 RVA: 0x0000FA8C File Offset: 0x0000DC8C
 public ulong ReadUInt64(BinaryEndian endian = BinaryEndian.LittleEndian)
 {
     if (endian != BinaryEndian.BigEndian)
     {
         return(this._reader.ReadUInt64());
     }
     return(BinaryStream.Endian(this._reader.ReadUInt64()));
 }
Пример #3
0
 // Token: 0x0600077A RID: 1914 RVA: 0x0000FA04 File Offset: 0x0000DC04
 public ushort ReadUInt16(BinaryEndian endian = BinaryEndian.LittleEndian)
 {
     if (endian != BinaryEndian.BigEndian)
     {
         return(this._reader.ReadUInt16());
     }
     return(BinaryStream.Endian(this._reader.ReadUInt16()));
 }
Пример #4
0
 // Token: 0x0600078E RID: 1934 RVA: 0x0000FBD0 File Offset: 0x0000DDD0
 public void WriteUInt64(ulong value, BinaryEndian endian = BinaryEndian.LittleEndian)
 {
     this._writer.Write((endian == BinaryEndian.BigEndian) ? BinaryStream.Endian(value) : value);
 }
Пример #5
0
 // Token: 0x06000789 RID: 1929 RVA: 0x0000FB4E File Offset: 0x0000DD4E
 public void WriteInt16(short value, BinaryEndian endian = BinaryEndian.LittleEndian)
 {
     this._writer.Write((endian == BinaryEndian.BigEndian) ? BinaryStream.Endian(value) : value);
 }