public byte [ ] getPayload ( int payloadStart , int payloadSize ) { byte [ ] payloadBuffer = new byte [ payloadSize ] ; System . arraycopy ( currentBuffer , payloadStart , payloadBuffer , 0 , payloadSize ) ; return payloadBuffer ; }
Returns a portion of the internal buffer