write checksums to this packet concode_field_sep long[] EMPTY concode_elem_sep long[] traceParents concode_elem_sep long seqno concode_elem_sep int checksumStart concode_elem_sep long HEART_BEAT_SEQNO concode_elem_sep int checksumPos concode_elem_sep boolean syncBlock concode_elem_sep int maxChunks concode_elem_sep int dataPos concode_elem_sep int traceParentsUsed concode_elem_sep int numChunks concode_elem_sep byte[] buf concode_elem_sep boolean lastPacketInBlock concode_elem_sep int dataStart concode_elem_sep long offsetInBlock concode_elem_sep Span span concode_field_sep void setTraceSpan concode_elem_sep Span getTraceSpan concode_elem_sep long[] getTraceParents concode_elem_sep int getMaxChunks concode_elem_sep void releaseBuffer concode_elem_sep boolean isLastPacketInBlock concode_elem_sep long getSeqno concode_elem_sep void writeData concode_elem_sep boolean isHeartbeatPacket concode_elem_sep void addTraceParent concode_elem_sep void addTraceParent concode_elem_sep void setSyncBlock concode_elem_sep void writeTo concode_elem_sep long getLastByteOffsetBlock concode_elem_sep void incNumChunks concode_elem_sep String toString concode_elem_sep int getNumChunks concode_elem_sep void checkBuffer
void function ( byte [ ] arg0 , int arg1 , int arg2 ) { checkBuffer ( ) ; if ( arg2 == 0 ) { return ; } if ( checksumPos + arg2 > dataStart ) { throw new BufferOverflowException ( ) ; } System . arraycopy ( arg0 , arg1 , buf , checksumPos , arg2 ) ; checksumPos += arg2 ; }