ByteString support for pipes