hGet package:pipes-bytestring

Convert a handle into a byte stream using a fixed chunk size hGet waits until exactly the requested number of bytes are available for each chunk.
Like hGet, except you can vary the chunk size for each request
Convert a handle into a byte stream using a fixed chunk size Similar to hGet except that it will never block waiting for data to become available.
Like hGet but with an extra parameter specifying an initial handle offset
Convert a handle into a byte stream using a maximum chunk size hGetSome forwards input immediately as it becomes available, splitting the input into multiple chunks if it exceeds the maximum chunk size.
Like hGetSome, except you can vary the maximum chunk size for each request