StreamMmap.newWithBounds

gmime.stream_mmap.StreamMmap newWithBounds(int fd, int prot, int flags, long start, long end)

Creates a new #GMimeStreamMmap object around fd with bounds start and end.

Parameters

fdfile descriptor
protprotection flags
flagsmap flags
startstart boundary
endend boundary

Returns

a stream using fd with bounds start and end.