addBuffer method Null safety

void addBuffer(
  1. InputStream buffer,
  2. {int flush = FINISH}
)

Add more data to be deflated.

Implementation

void addBuffer(InputStream buffer, {int flush = FINISH}) {
  _input = buffer;
  _deflate(flush);
}