C# Class BACnet.Core.Network.NetgramHeader

Show file Open project: LorenVS/bacstack Class Usage Examples

Public Methods

Method Description
Deserialize ( byte buffer, int offset, int length ) : int

Deserializes the netgram header from a buffer

NetgramHeader ( ) : System
Serialize ( byte buffer, int offset ) : int

Serializes the netgram header to a buffer

Method Details

Deserialize() public method

Deserializes the netgram header from a buffer
public Deserialize ( byte buffer, int offset, int length ) : int
buffer byte The buffer to deserialize from
offset int The offset to begin deserializing
length int The length of the buffer content
return int

NetgramHeader() public method

public NetgramHeader ( ) : System
return System

Serialize() public method

Serializes the netgram header to a buffer
public Serialize ( byte buffer, int offset ) : int
buffer byte The buffer to serialize to
offset int The offset to begin serializing
return int