IsoBuffer.wrap constructor

IsoBuffer.wrap(
  1. Uint8List bytes, [
  2. int? offset,
  3. int? length
])

Implementation

factory IsoBuffer.wrap(Uint8List bytes, [int? offset, int? length]) {
  final int start = offset ?? 0;
  final int end = length == null ? bytes.length : start + length;
  return IsoBuffer._(bytes, start, end);
}