[This is preliminary documentation and is subject to change.]
Convert a byte buffer to printable binary representation (i.e. <<131,15,12,...>>)
Namespace: NFX.ErlangAssembly: NFX.Erlang (in NFX.Erlang.dll) Version: 3.0.0.1 (3.0.0.1)
public static string ToBinaryString(
byte[] buf,
int offset,
int count,
int maxLen = 0
)
public static string ToBinaryString(
byte[] buf,
int offset,
int count,
int maxLen = 0
)
Public Shared Function ToBinaryString (
buf As Byte(),
offset As Integer,
count As Integer,
Optional maxLen As Integer = 0
) As String
Public Shared Function ToBinaryString (
buf As Byte(),
offset As Integer,
count As Integer,
Optional maxLen As Integer = 0
) As String
public:
static String^ ToBinaryString(
array<unsigned char>^ buf,
int offset,
int count,
int maxLen = 0
)
public:
static String^ ToBinaryString(
array<unsigned char>^ buf,
int offset,
int count,
int maxLen = 0
)
static member ToBinaryString :
buf : byte[] *
offset : int *
count : int *
?maxLen : int
(* Defaults:
let _maxLen = defaultArg maxLen 0
*)
-> string
static member ToBinaryString :
buf : byte[] *
offset : int *
count : int *
?maxLen : int
(* Defaults:
let _maxLen = defaultArg maxLen 0
*)
-> string
Parameters
- buf
- Type:
System Byte
Buffer to convert
- offset
- Type:
System Int32
Offset in the buffer
- count
- Type:
System Int32
Number of bytes to convert
- maxLen (Optional)
- Type:
System 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:
String