StringView.of constructor

StringView.of(
  1. Uint8List bytes
)

Creates a view over the whole buffer.

Implementation

factory StringView.of(Uint8List bytes) => StringView(bytes, 0, bytes.length);