pack

Encodes data to binary.

Writes all encoded values to writer.

  1. ubyte[] pack(V values)
  2. void pack(File file, V values)
  3. ubyte[] pack(V values)
  4. ubyte[] pack(File file, V values)
  5. void pack(ref BinaryWriter writer, V values)
    void
    pack
    (
    string format
    V...
    )
    if (
    format.length > 0
    )

Parameters

writer

Writer to write to

values
Type: V

Values to encode

Meta