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 T.sizeof otherwise an exception is thrown.

Return Value

Type: T

The decoded piece of data described by type T.

Meta