ErlBinary ToBinaryString Method ( Byte , Int32, Int32, Int32)NFX Class Library

[This is preliminary documentation and is subject to change.]

Convert a byte buffer to printable binary representation (i.e. <<131,15,12,...>>)

Namespace: NFX.Erlang
Assembly: NFX.Erlang (in NFX.Erlang.dll) Version: 3.0.0.1 (3.0.0.1)
Syntax

public static string ToBinaryString(
	byte[] buf,
	int offset,
	int count,
	int maxLen = 0
)

Parameters

buf
Type:  OnlineSystem Byte 
Buffer to convert
offset
Type: OnlineSystem Int32
Offset in the buffer
count
Type: OnlineSystem Int32
Number of bytes to convert
maxLen (Optional)
Type: OnlineSystem Int32
Maximum allowed length of returned string. If given, and resulting string exceeds this value, it'll be trimmed to this length ending with "...>>"

Return Value

Type: OnlineString
See Also