C# 클래스 Gammtek.Conduit.IO.VarInt

Extension methods to write variable length integers to a BinaryWriter.
파일 보기 프로젝트 열기: ME3Explorer/ME3Explorer

공개 메소드들

메소드 설명
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