void function ( ByteChunk arg0 ) { if ( arg0 == null ) { log . error ( sm . getString ( "srini_string" ) , new NullPointerException ( ) ) ; appendInt ( 0 ) ; appendByte ( 0 ) ; return ; } appendBytes ( arg0 . getBytes ( ) , arg0 . getStart ( ) , arg0 . getLength ( ) ) ; }
write a bytechunk out at the current write position . a null bytechunk is encoded as a string with length 0 . concode_field_sep int len concode_elem_sep int pos concode_elem_sep Log log concode_elem_sep StringManager sm concode_elem_sep byte buf[] concode_field_sep int peekInt concode_elem_sep void validatePos concode_elem_sep byte getByte concode_elem_sep byte[] getBuffer concode_elem_sep int getLongInt concode_elem_sep void appendBytes concode_elem_sep void appendBytes concode_elem_sep void getBytes concode_elem_sep String hexLine concode_elem_sep int processHeader concode_elem_sep void appendByte concode_elem_sep int getInt concode_elem_sep void doGetBytes concode_elem_sep void appendInt concode_elem_sep void getBodyBytes concode_elem_sep int getLen concode_elem_sep void reset concode_elem_sep void end concode_elem_sep String hex concode_elem_sep void dump concode_elem_sep int getPacketSize concode_elem_sep int getHeaderLength