Class BinaryReaderExtensions
Inheritance
System.Object
BinaryReaderExtensions
Assembly: Eco.Shared.dll
Syntax
public static class BinaryReaderExtensions : Object
Methods
DecodeIntVariableLength(BinaryReader)
Declaration
public static int DecodeIntVariableLength(this BinaryReader reader)
Parameters
Type |
Name |
Description |
System.IO.BinaryReader |
reader |
|
Returns
Type |
Description |
System.Int32 |
|
DecodeLongVariableLength(BinaryReader)
Declaration
public static long DecodeLongVariableLength(this BinaryReader reader)
Parameters
Type |
Name |
Description |
System.IO.BinaryReader |
reader |
|
Returns
Type |
Description |
System.Int64 |
|
DecodeUIntVariableLength(BinaryReader)
Declaration
public static uint DecodeUIntVariableLength(this BinaryReader reader)
Parameters
Type |
Name |
Description |
System.IO.BinaryReader |
reader |
|
Returns
Type |
Description |
System.UInt32 |
|
DecodeULongVariableLength(BinaryReader)
Declaration
public static ulong DecodeULongVariableLength(this BinaryReader reader)
Parameters
Type |
Name |
Description |
System.IO.BinaryReader |
reader |
|
Returns
Type |
Description |
System.UInt64 |
|
ReadDictionary(BinaryReader)
Reads a string key,value Dictionary from a BinaryReader
Declaration
public static Dictionary<string, string> ReadDictionary(this BinaryReader reader)
Parameters
Type |
Name |
Description |
System.IO.BinaryReader |
reader |
|
Returns
Type |
Description |
System.Collections.Generic.Dictionary<System.String, System.String> |
|