C# Class TeleSharp.TL.BytesUtil

Datei anzeigen Open project: sochix/TLSharp Class Usage Examples

Public Methods

Method Description
Deserialize ( BinaryReader reader ) : byte[]
Serialize ( byte src, BinaryWriter writer ) : void

Private Methods

Method Description
read ( BinaryReader binaryReader ) : byte[]
write ( BinaryWriter binaryWriter, byte data ) : BinaryWriter

Method Details

Deserialize() public static method

public static Deserialize ( BinaryReader reader ) : byte[]
reader System.IO.BinaryReader
return byte[]

Serialize() public static method

public static Serialize ( byte src, BinaryWriter writer ) : void
src byte
writer System.IO.BinaryWriter
return void