FrameBorrowedView.owned constructor

FrameBorrowedView.owned(
  1. Uint8List bytes
)

Wraps an owned contiguous byte buffer.

Implementation

factory FrameBorrowedView.owned(Uint8List bytes) {
  return FrameBorrowedView._(bytes, 0, bytes.length, _empty, 0, 0,
      isBorrowed: false);
}