Options for serializing to binary data.

interface BinaryWriteOptions {
    writeUnknownFields: boolean;
    writerFactory: (() => IBinaryWriter);
}

Properties

writeUnknownFields: boolean

Include unknown fields in the serialized output? The default behavior is to retain unknown fields and include them in the serialized output.

For more details see https://developers.google.com/protocol-buffers/docs/proto3#unknowns

writerFactory: (() => IBinaryWriter)

Type declaration

Generated using TypeDoc