nuvolabase/orientdb — pull request #1489 by gmandnepr (2013-05-20 14:22:54+00:00)
Title: ORecordBytes.fromInputStream(..) makes several attempts to fill source from InputStream to reach iMaxSize limit

Some subclasses of the InputStream may return shorter array in InputStream.read(byte[]) for non-blocking purposes. Rewriting ORecordBytes.fromInputStream(..) so that it makes several attempts to fill array with data to reach iMaxSize limit.