decodeBinary method
RdfGraph
decodeBinary(
- Uint8List content, {
- String? contentType,
- RdfBinaryDecoderOptions? options,
Decode binary RDF content to create a graph.
Converts binary data containing serialized RDF into an in-memory RDF
graph. The format can be explicitly specified using the contentType
parameter, or automatically detected from the content if not specified.
Throws CodecNotSupportedException if no binary codec matches.
Implementation
RdfGraph decodeBinary(
Uint8List content, {
String? contentType,
RdfBinaryDecoderOptions? options,
}) =>
binaryGraphCodec(contentType: contentType, decoderOptions: options)
.decode(content);