fromBigEndian

Converts big endian bytes to integrals of type T size of bs has to match the size in bytes of output

  1. T fromBigEndian(ubyte[] bs)
  2. void fromBigEndian(ubyte[] bs, T[] output)
    @safe @nogc
    void
    fromBigEndian
    (
    T
    )
    (
    in ubyte[] bs
    ,
    T[] output
    )
    if (
    isIntegral!T
    )

Parameters

bs ubyte[]

the big endian bytes

output T[]

where the T's get written to

Meta