encodeLibraryBlob function

Uint8List encodeLibraryBlob(
  1. RemoteWidgetLibrary value
)

Encode data as a Remote Flutter Widgets binary library blob.

See also:

Implementation

Uint8List encodeLibraryBlob(RemoteWidgetLibrary value) {
  final _BlobEncoder encoder = _BlobEncoder();
  encoder.writeSignature(libraryBlobSignature);
  encoder.writeLibrary(value);
  return encoder.bytes.toBytes();
}