C# Класс Gammtek.Conduit.IO.VarInt

Extension methods to write variable length integers to a BinaryWriter.
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

ReadVarInt16() публичный статический Метод

Reads a variable length representation of an integer from the stream managed by reader.
public static ReadVarInt16 ( this reader ) : short
reader this
Результат short

ReadVarInt32() публичный статический Метод

Reads a variable length representation of an integer from the stream managed by reader.
public static ReadVarInt32 ( this reader ) : int
reader this
Результат int

ReadVarInt64() публичный статический Метод

Reads a variable length representation of an integer from the stream managed by reader.
public static ReadVarInt64 ( this reader ) : long
reader this
Результат long

ReadVarUInt16() публичный статический Метод

Reads a variable length representation of an integer from the stream managed by reader.
public static ReadVarUInt16 ( this reader ) : ushort
reader this
Результат ushort

ReadVarUInt32() публичный статический Метод

Reads a variable length representation of an integer from the stream managed by reader.
public static ReadVarUInt32 ( this reader ) : uint
reader this
Результат uint

ReadVarUInt64() публичный статический Метод

Reads a variable length representation of an integer from the stream managed by reader.
public static ReadVarUInt64 ( this reader ) : ulong
reader this
Результат ulong

WriteVar() публичный статический Метод

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
Результат void

WriteVar() публичный статический Метод

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
Результат void

WriteVar() публичный статический Метод

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
Результат void

WriteVar() публичный статический Метод

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
Результат void

WriteVar() публичный статический Метод

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
Результат void

WriteVar() публичный статический Метод

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
Результат void