Crimson constructor

Crimson(
  1. List<int> buffer, [
  2. int offset = 0
])

Creates a new Crimson instance from a buffer that reads from offset.

Implementation

Crimson(this.buffer, [int offset = 0]) : _offset = offset;