Thresher 1.2 Class Documentation

DccUtil.DccBytesReceivedFormat Method 

Convert a signed long into an unsigned int in network byte order.

[Visual Basic]
Public Shared Function DccBytesReceivedFormat( _
   ByVal bytesReceived As Long _
) As Byte()
[C#]
public static byte[] DccBytesReceivedFormat(
   long bytesReceived
);

Parameters

bytesReceived
The number of bytes received as a long.

Return Value

An unsigned int as a 4 byte array.

See Also

DccUtil Class | Sharkbite.Irc Namespace