LengthPrefixedStream.receive

class LengthPrefixedStream(T, Endian endianness = Endian.bigEndian)
override
ubyte[]
receive
()
if (
isNumeric!T ||
(
is(typeof(T.encode)) &&
isIntegral!(Parameters!(T.encode)[0])
)
)

Return Value

Type: ubyte[]

an array of bytes as indicated by the length or an empty array on failure or when the indicated length exceeds the max length

Meta