this method works around the bizarre semantics of bufferedinputstream 's read method . concode_field_sep byte thisLine[] concode_elem_sep PrintStream pStream concode_elem_sep int offset concode_elem_sep int thisLineLength concode_elem_sep int currentByte concode_field_sep void encode concode_elem_sep void encode concode_elem_sep String encode concode_elem_sep void encode concode_elem_sep String encode concode_elem_sep void encodeBufferSuffix concode_elem_sep void encodeBufferPrefix concode_elem_sep void hexDigit concode_elem_sep int bytesPerLine concode_elem_sep int bytesPerAtom concode_elem_sep void encodeLinePrefix concode_elem_sep void encodeAtom concode_elem_sep void encodeLineSuffix concode_elem_sep byte[] getBytes concode_elem_sep void encodeBuffer concode_elem_sep void encodeBuffer concode_elem_sep String encodeBuffer concode_elem_sep void encodeBuffer concode_elem_sep String encodeBuffer
int function ( InputStream arg0 , byte arg1 [ ] ) { for ( int loc0 = 0 ; loc0 < arg1 . length ; loc0 ++ ) { int loc1 = arg0 . read ( ) ; if ( loc1 == - 1 ) return loc0 ; arg1 [ loc0 ] = ( byte ) loc1 ; } return arg1 . length ; }