decodeBinaryDataset method
RdfDataset
decodeBinaryDataset(
- Uint8List content, {
- String? contentType,
- RdfBinaryDecoderOptions? options,
Decode binary RDF content to create a dataset.
Converts binary data containing serialized RDF into an in-memory RDF
dataset. 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
RdfDataset decodeBinaryDataset(
Uint8List content, {
String? contentType,
RdfBinaryDecoderOptions? options,
}) =>
binaryDatasetCodec(contentType: contentType, decoderOptions: options)
.decode(content);