LayoutByteWriter constructor

LayoutByteWriter(
  1. int span
)

Implementation

LayoutByteWriter(int span)
    : _buffer = LayoutByteReader.write(
          span >= 0 ? List.filled(span, 0) : List.empty(growable: true)),
      growable = span < 0;