getBytes method Null safety

List<int> getBytes()

Get the resulting compressed bytes.

Implementation

List<int> getBytes() {
  _flushPending();
  return _output.getBytes() as List<int>;
}