where method

ByteStream where(
  1. bool predicate(
    1. List<int>
    )
)

Filters chunks of bytes using the provided predicate.

predicate the predicate function

Implementation

ByteStream where(bool Function(List<int>) predicate) {
  return ByteStream._(_stream.where(predicate));
}