fromLittleEndian

Converts little endian bytes to integral of type T

  1. T fromLittleEndian(in ubyte[] bs)
    @safe @nogc
    T
    fromLittleEndian
    (
    T
    )
    (
    in ubyte[] bs
    )
    if (
    isIntegral!T
    )
    in { assert (bs.length >= T.sizeof, "input buffer too short"); }
  2. void fromLittleEndian(in ubyte[] bs, T[] output)

Return Value

Type: T

integral of type T

Meta