RdfBinaryEncoder<G> class abstract

Base class for encoding RDF data structures to binary serialization formats.

This abstract class extends the standard Converter interface to provide a common API for encoding RDF data structures into binary representations. Each format implements this interface to handle its specific binary encoding.

Format-specific encoders should extend this base class to be registered with the RDF library's binary codec framework.

Inheritance
Implementers

Constructors

RdfBinaryEncoder()
const

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

bind(Stream<G> stream) Stream<Uint8List>
Transforms the provided stream.
inherited
cast<RS, RT>() Converter<RS, RT>
Provides a Converter<RS, RT> view of this stream transformer.
inherited
convert(G data) Uint8List
Encodes an RDF data structure to a binary representation.
override
fuse<TT>(Converter<Uint8List, TT> other) Converter<G, TT>
Fuses this with other.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
startChunkedConversion(Sink<Uint8List> sink) Sink<G>
Starts a chunked conversion.
inherited
toString() String
A string representation of this object.
inherited
withOptions(RdfBinaryEncoderOptions options) RdfBinaryEncoder<G>
Creates a new encoder instance with the specified options.

Operators

operator ==(Object other) bool
The equality operator.
inherited