LazyMessagePayload.encoded constructor
LazyMessagePayload.encoded({
- Uint8List? transparentBinaryPayload,
- LazyPayloadEncoding? encoding,
- WampE2eeProvider? e2eeProvider,
- WampE2eeRuntimeContext? e2eeRuntimeContext,
- Uint8List? argumentsBytes,
- Uint8List? argumentsKeywordsBytes,
- PayloadListDecoder? argumentsDecoder,
- PayloadMapDecoder? argumentsKeywordsDecoder,
- List? arguments,
- Map<
String, dynamic> ? argumentsKeywords, - Object? anchor,
Creates a view backed by separately encoded positional and keyword data.
Implementation
factory LazyMessagePayload.encoded({
Uint8List? transparentBinaryPayload,
LazyPayloadEncoding? encoding,
WampE2eeProvider? e2eeProvider,
WampE2eeRuntimeContext? e2eeRuntimeContext,
Uint8List? argumentsBytes,
Uint8List? argumentsKeywordsBytes,
PayloadListDecoder? argumentsDecoder,
PayloadMapDecoder? argumentsKeywordsDecoder,
List<dynamic>? arguments,
Map<String, dynamic>? argumentsKeywords,
Object? anchor,
}) {
return LazyMessagePayload._(
transparentBinaryPayload: transparentBinaryPayload,
encoding: encoding,
e2eeProvider: e2eeProvider,
e2eeRuntimeContext: e2eeRuntimeContext,
argumentsBytes: argumentsBytes,
argumentsKeywordsBytes: argumentsKeywordsBytes,
argumentsDecoder: argumentsDecoder,
argumentsKeywordsDecoder: argumentsKeywordsDecoder,
arguments: arguments,
argumentsKeywords: argumentsKeywords,
packedPayloadBytes: null,
packedPayloadDecoder: null,
anchor: anchor,
);
}