public override void ReadData( int offset, int length, IntPtr dest )
{
// lock the buffer for reading
IntPtr src = this.Lock( offset, length, BufferLocking.ReadOnly );
// copy that data in there
Memory.Copy( src, dest, length );
// unlock the buffer
this.Unlock();
}