void function ( ) { byte [ ] loc0 = new byte [ 8 ] ; InputStream loc1 = new ByteArrayInputStream ( loc0 ) ; try { byte [ ] loc2 = StreamUtil . getBytesFromStream ( loc1 ) ; assertTrue ( Arrays . equals ( loc0 , loc2 ) ) ; } finally { Closeables . close ( loc1 , true ) ; } }
verify that using a bytearrayinputstream does not allocate a new byte array . concode_field_sep PlaceHolder placeHolder concode_field_sep void testSuccessfulSkip concode_elem_sep void checkFileInputStream concode_elem_sep void testUnsuccessfulSkip concode_elem_sep void testFileInputStream concode_elem_sep void testByteArrayInputStreamWithOffset