decode

decode a value from an ubyte range.

T
decode
(
T
)
(
const ubyte[] data
)

Parameters

data ubyte[]

An ubyte[] that should be large enough to contain the size of T otherwise an exception is thrown.

Return Value

Type: T

The decoded piece of data described by type T.

Meta