unpackTo

Decodes binary data.

This function unpacks binary encoded data from range and puts them into variables passed as arguments. If range is too small, DecodeException is thrown.

  1. void unpackTo(Range range, V values)
    void
    unpackTo
    (
    string format
    Range
    V...
    )
    (
    auto ref Range range
    ,
    ref V values
    )
    if (
    isInputRange!Range &&
    is(ElementType!Range == ubyte)
    )
  2. void unpackTo(File file, V values)
  3. void unpackTo(Range range, V values)
  4. void unpackTo(File file, V values)
  5. void unpackTo(BinaryReader!Range reader, V values)
  6. void unpackTo(BinaryReader!Range reader, V values)

Parameters

format

Format specifier

byteOrder

Byte Order to use, ByteOrder.Native is default.

range Range

Data to unpack values... = Values to un pack to

Throws

DecodeException

Meta