C# Class Gammtek.Conduit.IO.VarInt

Extension methods to write variable length integers to a BinaryWriter.
Afficher le fichier Open project: ME3Explorer/ME3Explorer

Méthodes publiques

Méthode Description
ReadVarInt16 ( this reader ) : short

Reads a variable length representation of an integer from the stream managed by reader.

ReadVarInt32 ( this reader ) : int

Reads a variable length representation of an integer from the stream managed by reader.

ReadVarInt64 ( this reader ) : long

Reads a variable length representation of an integer from the stream managed by reader.

ReadVarUInt16 ( this reader ) : ushort

Reads a variable length representation of an integer from the stream managed by reader.

ReadVarUInt32 ( this reader ) : uint

Reads a variable length representation of an integer from the stream managed by reader.

ReadVarUInt64 ( this reader ) : ulong

Reads a variable length representation of an integer from the stream managed by reader.

WriteVar ( this writer, int value ) : void

Writes a variable length representation of value to the stream managed by writer.

WriteVar ( this writer, long value ) : void

Writes a variable length representation of value to the stream managed by writer.

WriteVar ( this writer, short value ) : void

Writes a variable length representation of value to the stream managed by writer.

WriteVar ( this writer, uint value ) : void

Writes a variable length representation of value to the stream managed by writer.

WriteVar ( this writer, ulong value ) : void

Writes a variable length representation of value to the stream managed by writer.

WriteVar ( this writer, ushort value ) : void

Writes a variable length representation of value to the stream managed by writer.

Method Details

ReadVarInt16() public static méthode

Reads a variable length representation of an integer from the stream managed by reader.
public static ReadVarInt16 ( this reader ) : short
reader this
Résultat short

ReadVarInt32() public static méthode

Reads a variable length representation of an integer from the stream managed by reader.
public static ReadVarInt32 ( this reader ) : int
reader this
Résultat int

ReadVarInt64() public static méthode

Reads a variable length representation of an integer from the stream managed by reader.
public static ReadVarInt64 ( this reader ) : long
reader this
Résultat long

ReadVarUInt16() public static méthode

Reads a variable length representation of an integer from the stream managed by reader.
public static ReadVarUInt16 ( this reader ) : ushort
reader this
Résultat ushort

ReadVarUInt32() public static méthode

Reads a variable length representation of an integer from the stream managed by reader.
public static ReadVarUInt32 ( this reader ) : uint
reader this
Résultat uint

ReadVarUInt64() public static méthode

Reads a variable length representation of an integer from the stream managed by reader.
public static ReadVarUInt64 ( this reader ) : ulong
reader this
Résultat ulong

WriteVar() public static méthode

Writes a variable length representation of value to the stream managed by writer.
public static WriteVar ( this writer, int value ) : void
writer this
value int
Résultat void

WriteVar() public static méthode

Writes a variable length representation of value to the stream managed by writer.
public static WriteVar ( this writer, long value ) : void
writer this
value long
Résultat void

WriteVar() public static méthode

Writes a variable length representation of value to the stream managed by writer.
public static WriteVar ( this writer, short value ) : void
writer this
value short
Résultat void

WriteVar() public static méthode

Writes a variable length representation of value to the stream managed by writer.
public static WriteVar ( this writer, uint value ) : void
writer this
value uint
Résultat void

WriteVar() public static méthode

Writes a variable length representation of value to the stream managed by writer.
public static WriteVar ( this writer, ulong value ) : void
writer this
value ulong
Résultat void

WriteVar() public static méthode

Writes a variable length representation of value to the stream managed by writer.
public static WriteVar ( this writer, ushort value ) : void
writer this
value ushort
Résultat void