DecodeExt typedef

DecodeExt = dynamic Function(int type, int length, Unpacker unpacker)

Called by the Unpacker when it encounters a MessagePack ext type.

  • type: The extension type code (-128..127).
  • length: The byte length of the extension payload.
  • unpacker: The unpacker to read the payload from.

Should return the decoded Dart object.

Implementation

typedef DecodeExt = dynamic Function(int type, int length, Unpacker unpacker);