Grows storage to hold at least n bytes, keeping the first length.
n
void ensureCapacity(int n) { if (n <= storage.length) return; storage = Uint8List(n)..setRange(0, length, storage); }