decode method

Object? decode()

Implementation

Object? decode() {
  if (this.isEmpty) {
    return null;
  }
  var deserializer = Deserializer.defaultDeserializer();
  deserializer.reader = BinaryReader(this);
  deserializer.reset();
  deserializer.readHeader();
  return deserializer.readValue();
}