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

decode method

  • @override

InterfaceHandle<T> decode (Decoder decoder, int offset, int depth)

override

Implementation

@override
InterfaceHandle<T>? decode(Decoder decoder, int offset, int depth) {
  final Handle? handle = _decodeNullableHandle(
      decoder, offset, ZX.OBJ_TYPE_CHANNEL, ZX.DEFAULT_CHANNEL_RIGHTS);
  return handle == null ? null : InterfaceHandle<T>(Channel(handle));
}