* point at the packet data portion of the buffer referenced as a view.
*
* @see com.slytechs.packet.AbstractPacket#getBuffer()
*/
public BitBuffer getBuffer() throws IOException {
final BitBuffer b = handle.getBitBuffer();
if (bits != b) {
b.position(b.position() + getRecordHeaderLength());
bits = BitBuffer.wrap(b.toByteBuffer());
}
return bits;
}