BYTE_BLOCK_MASK
Use this to find the position of a global offset in a particular buffer.
positionInCurrentBuffer = globalOffset & BYTE_BLOCK_MASK
positionInCurrentBuffer = globalOffset % BYTE_BLOCK_SIZE
Use this to find the position of a global offset in a particular buffer.
positionInCurrentBuffer = globalOffset & BYTE_BLOCK_MASK
positionInCurrentBuffer = globalOffset % BYTE_BLOCK_SIZE