Google is committed to advancing racial equity for Black communities. See how.

decode method

  • @override

T decode (Decoder decoder, int offset) override

Implementation

@override
T decode(Decoder decoder, int offset) {
  final int data = decoder.decodeUint64(offset);
  validateEncoded(data);
  if (data == kAllocAbsent) {
    return null;
  }
  return element.decode(
      decoder, decoder.claimMemory(element.decodingInlineSize(decoder)));
}