concatMap package:pipes-bytestring

Map a function over the byte stream and concatenate the results