encode method
Encodes an RDF data structure to binary.
Convenience method that delegates to the codec's encoder, optionally
applying the given options.
Implementation
Uint8List encode(
G input, {
RdfBinaryEncoderOptions? options,
}) {
return (options == null ? encoder : encoder.withOptions(options))
.convert(input);
}