ByteArray Module
Provides several useful functions to deal with byte arrays (i.e., ByteArray).
Functions and values
Function or value | Description |
|
|
Full Usage:
extractCStringFromSpan span offset
Parameters:
ReadOnlySpan<byte>
offset : int
Returns: string
|
|
Full Usage:
findIdxs offset pattern buf
Parameters:
uint64
pattern : byte array
buf : ByteArray
Returns: uint64 list
|
|
Full Usage:
ofHexString s
Parameters:
string
Returns: byte array
|
|
|
|
Full Usage:
tryFindIdx offset pattern buf
Parameters:
uint64
pattern : byte array
buf : ByteArray
Returns: uint64 option
|