Skip to content

ByteEx ​

Kind: Static class

Namespace: CrowdControl.Common

Public Static Functions

byte[]

Populate(byte[] arr, byte value)

T

ToObject<T>(byte[] buffer)

T

ToObject<T>(byte[] buffer, int offset)

T

ToStructure<T>(byte[] bytes)

object

ToStructure(byte[] bytes, Type type)

byte[]

ToUTF8EncodedJsonObject<T>(T obj)

T

FromUTF8EncodedJSONObject<T>(byte[] bytes)

byte[]

AppendChecksum(byte[] array)

string

ToHexString(byte[] bytes)

string

ToHexString(Span bytes)

string

ToHexString(ReadOnlySpan bytes)