UnsafeFramingX extension
Methods
-
decodeFramesIntoBorrowed(
BorrowedBytesCodec codec, void onFrame(FrameBorrowedView frame), {int capacity = 64 * 1024, bool allowTrailingBytesAtEof = false, bool cancelOnError = false}) → Future< void> -
Available on Stream<
Decode frames and deliver them toList< , provided by the UnsafeFramingX extensionint> >onFrameas a short-lived FrameBorrowedView.