Encoder.writeFixed - multiple declarations

Function Encoder.writeFixed

Writes a fixed size binary object.

abstract void writeFixed (
  const(ubyte[]) bytes,
  ulong start,
  ulong len
) @safe;

Parameters

NameDescription
bytes The contents to write
start The position within bytes where the contents start.
len The number of bytes to write.

Throws

AvroTypeException If this is a stateful writer and a byte-string is not expected

Function Encoder.writeFixed

A shorthand for writeFixed(bytes, 0, bytes.length).

void writeFixed (
  const(ubyte[]) bytes
) @safe;

Parameters

NameDescription
bytes The bytes of a fixed value.