ByteBuffer function ( ByteBuffer arg0 , PDFObject arg1 ) { RunLengthDecode loc0 = new RunLengthDecode ( arg0 ) ; return loc0 . decode ( ) ; }
decode an array of bytes in runlength format . runlength format consists of a sequence of a byte-oriented format based on run length . there are a series of `` runs '' , where a run is a length byte followed by 1 to 128 bytes of data . if the length is 0-127 , the following length +1 1 to 128 bytes are to be copied . if the length is 129 through 255 , the following single byte is copied 257-length 2 to 128 times . a length value of 128 means and end of data eod . concode_field_sep ByteBuffer buf concode_elem_sep int RUN_LENGTH_EOD concode_field_sep placeholderType placeHolder