decode method

G decode(
  1. Uint8List input, {
  2. RdfBinaryDecoderOptions? options,
})
override

Decodes binary RDF data into an RDF data structure.

Convenience method that delegates to the codec's decoder, optionally applying the given options.

Implementation

G decode(
  Uint8List input, {
  RdfBinaryDecoderOptions? options,
}) {
  return (options == null ? decoder : decoder.withOptions(options))
      .convert(input);
}