Call the ReadBlock function in a loop to let the stream read data from a shared memory block.
The ReadBlock function returns the count of bytes that were put in the shared MemoryBlock buffer.
LongBinaryStream Class