serializeTransportFragments method

List<Uint8List> serializeTransportFragments(
  1. AbstractMessage message
)

Encode a complete transport frame, borrowing binary application arguments. Even an unfragmented frame is finished once; retain all fragment owners and contents until transmission completes.

Implementation

List<Uint8List> serializeTransportFragments(AbstractMessage message) =>
    _serializeFragments(
      message,
      borrowBinaryArguments: true,
      includeUnfragmented: true,
    )!;