NativePooledByteBuffer function ( InputStream arg0 , NativePooledByteBufferOutputStream arg1 ) { mPooledByteStreams . copy ( arg0 , arg1 ) ; return arg1 . toByteBuffer ( ) ; }
reads all bytes from inputstream and writes them to outputstream . when all bytes are read outputstream.tobytebuffer is called and obtained nativepooledbytebuffer is returned concode_field_sep PooledByteStreams mPooledByteStreams concode_elem_sep NativeMemoryChunkPool mPool concode_field_sep NativePooledByteBufferOutputStream newOutputStream concode_elem_sep NativePooledByteBufferOutputStream newOutputStream concode_elem_sep NativePooledByteBuffer newByteBuffer concode_elem_sep NativePooledByteBuffer newByteBuffer concode_elem_sep NativePooledByteBuffer newByteBuffer concode_elem_sep NativePooledByteBuffer newByteBuffer