DocArena constructor

DocArena({
  1. int chunkSize = 1 << 20,
})

Creates an arena with chunkSize bytes per chunk.

Implementation

DocArena({int chunkSize = 1 << 20})
  : _chunkSize = chunkSize < 64 ? 64 : chunkSize;