serializeFragments method
List<Uint8List> ?
serializeFragments(
- AbstractMessage message, {
- bool borrowBinaryArguments = false,
override
Encode one WAMP frame while retaining its encoded application byte views.
Concatenate the fragments in order; each fragment is part of that frame.
Keep their backing owners and contents valid until transmission completes.
Set borrowBinaryArguments to retain materialized binary argument bytes
inside CBOR vectors. The default keeps their detached encoded storage.
Implementation
@override
List<Uint8List>? serializeFragments(
AbstractMessage message, {
bool borrowBinaryArguments = false,
}) => _serializeFragments(
message,
borrowBinaryArguments: borrowBinaryArguments,
);