C# Class PeerCastStation.UI.PortMapper.BinaryAccessor

显示文件 Open project: kumaryu/peercaststation Class Usage Examples

Public Methods

Method Description
GetByte ( byte bytes, int offset ) : byte
GetIPv4AddressBE ( byte bytes, int offset ) : IPAddress
GetUInt16BE ( byte bytes, int offset ) : int
GetUInt32BE ( byte bytes, int offset ) : long
PutByte ( byte bytes, int offset, byte value ) : void
PutUInt16BE ( byte bytes, int offset, int value ) : void
PutUInt32BE ( byte bytes, int offset, long value ) : void

Method Details

GetByte() static public method

static public GetByte ( byte bytes, int offset ) : byte
bytes byte
offset int
return byte

GetIPv4AddressBE() static public method

static public GetIPv4AddressBE ( byte bytes, int offset ) : IPAddress
bytes byte
offset int
return System.Net.IPAddress

GetUInt16BE() static public method

static public GetUInt16BE ( byte bytes, int offset ) : int
bytes byte
offset int
return int

GetUInt32BE() static public method

static public GetUInt32BE ( byte bytes, int offset ) : long
bytes byte
offset int
return long

PutByte() static public method

static public PutByte ( byte bytes, int offset, byte value ) : void
bytes byte
offset int
value byte
return void

PutUInt16BE() static public method

static public PutUInt16BE ( byte bytes, int offset, int value ) : void
bytes byte
offset int
value int
return void

PutUInt32BE() static public method

static public PutUInt32BE ( byte bytes, int offset, long value ) : void
bytes byte
offset int
value long
return void