A sub buffer of a CLBuffer.
Throws an UnsupportedOperationException since creating sub buffers from sub buffers is not allowed as of OpenCL 1.1.
Returns the offset of this sub buffer to its parent in bytes.
Returns the offset of this sub buffer to its parent in buffer elements.
Returns the parent buffer this buffer was created from.
origin - The offset in buffer elements.
size - The size in buffer elements.