Decoder.getRaw

Decodes an object without indirections from raw bytes in the InputRange.

Note: The decoding byte order is machine dependent.

  1. T getRaw()
    class Decoder(IRangeT)
    @trusted
    T
    getRaw
    (
    T
    )
    ()
    if (
    !hasIndirections!T
    )
    if (
    isInputRange!IRangeT &&
    is(ElementType!IRangeT == ubyte)
    )
  2. T[] getRaw(size_t n)

Meta