FramerBorrowedBytes constructor

FramerBorrowedBytes(
  1. BorrowedBytesCodec codec, {
  2. int capacity = 64 * 1024,
})

Implementation

FramerBorrowedBytes(
  this.codec, {
  int capacity = 64 * 1024,
}) : _rb = RingBuffer(capacity);