fromBigEndian

Converts big endian bytes to integral of type T

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

Return Value

Type: T

integral of type T

Meta