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
| Name | Description |
|---|---|
| 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.
void writeFixed
(
const(ubyte[]) bytes
) @safe;
Parameters
| Name | Description |
|---|---|
| bytes | The bytes of a fixed value. |