C# Class BinaryReaderWriterExtensions, csharputils

Afficher le fichier Open project: soywiz/csharputils Class Usage Examples

Méthodes publiques

Méthode Description
ReadSingleEndian ( this BinaryReader, Endianness Endian ) : float
ReadUint16Endian ( this BinaryReader, Endianness Endian ) : ushort
ReadUint32Endian ( this BinaryReader, Endianness Endian ) : uint
ReverseBytes ( this Bytes ) : byte[]
WriteEndian ( this BinaryWriter, uint Value, Endianness Endian ) : void
WriteEndian ( this BinaryWriter, ushort Value, Endianness Endian ) : void

Method Details

ReadSingleEndian() public static méthode

public static ReadSingleEndian ( this BinaryReader, Endianness Endian ) : float
BinaryReader this
Endian Endianness
Résultat float

ReadUint16Endian() public static méthode

public static ReadUint16Endian ( this BinaryReader, Endianness Endian ) : ushort
BinaryReader this
Endian Endianness
Résultat ushort

ReadUint32Endian() public static méthode

public static ReadUint32Endian ( this BinaryReader, Endianness Endian ) : uint
BinaryReader this
Endian Endianness
Résultat uint

ReverseBytes() public static méthode

public static ReverseBytes ( this Bytes ) : byte[]
Bytes this
Résultat byte[]

WriteEndian() public static méthode

public static WriteEndian ( this BinaryWriter, uint Value, Endianness Endian ) : void
BinaryWriter this
Value uint
Endian Endianness
Résultat void

WriteEndian() public static méthode

public static WriteEndian ( this BinaryWriter, ushort Value, Endianness Endian ) : void
BinaryWriter this
Value ushort
Endian Endianness
Résultat void