C# Class bitmessage.network.Helper

ファイルを表示 Open project: sharpbitmessage/SharpBitmessage

Public Properties

Property Type Description
Epoch System.DateTime

Public Methods

Method Description
FromUnix ( this unix ) : System.DateTime
NextUInt64 ( this rnd ) : System.UInt64
ReadVarInt ( this br, int &pos ) : System.UInt64
ReadVarIntList ( this br, int &pos ) : List
ReadVarStr ( this br, int &pos ) : string
ReadVarStrSubjectAndBody ( this data, int &pos, string &subject, string &body ) : void
ToUnix ( this dt ) : System.UInt64
VarIntToBytes ( this i ) : byte[]
WriteVarInt ( this ms, System.UInt64 data ) : void
WriteVarIntList ( this bw, List list ) : void
WriteVarStr ( this ms, string data ) : void

Method Details

FromUnix() public static method

public static FromUnix ( this unix ) : System.DateTime
unix this
return System.DateTime

NextUInt64() public static method

public static NextUInt64 ( this rnd ) : System.UInt64
rnd this
return System.UInt64

ReadVarInt() public static method

public static ReadVarInt ( this br, int &pos ) : System.UInt64
br this
pos int
return System.UInt64

ReadVarIntList() public static method

public static ReadVarIntList ( this br, int &pos ) : List
br this
pos int
return List

ReadVarStr() public static method

public static ReadVarStr ( this br, int &pos ) : string
br this
pos int
return string

ReadVarStrSubjectAndBody() public static method

public static ReadVarStrSubjectAndBody ( this data, int &pos, string &subject, string &body ) : void
data this
pos int
subject string
body string
return void

ToUnix() public static method

public static ToUnix ( this dt ) : System.UInt64
dt this
return System.UInt64

VarIntToBytes() public static method

public static VarIntToBytes ( this i ) : byte[]
i this
return byte[]

WriteVarInt() public static method

public static WriteVarInt ( this ms, System.UInt64 data ) : void
ms this
data System.UInt64
return void

WriteVarIntList() public static method

public static WriteVarIntList ( this bw, List list ) : void
bw this
list List
return void

WriteVarStr() public static method

public static WriteVarStr ( this ms, string data ) : void
ms this
data string
return void

Property Details

Epoch public_oe static_oe property

public static DateTime,System Epoch
return System.DateTime