void function ( final int arg0 , final NativeMemoryChunk arg1 , final int arg2 , final int arg3 ) { Preconditions . checkState ( ! isClosed ( ) ) ; Preconditions . checkState ( ! arg1 . isClosed ( ) ) ; checkBounds ( arg0 , arg1 . mSize , arg2 , arg3 ) ; nativeMemcpy ( arg1 . mNativePtr + arg2 , mNativePtr + arg0 , arg3 ) ; }
this does actual copy . it should be called only when we hold locks on both this and other objects concode_field_sep long mNativePtr concode_elem_sep int mSize concode_elem_sep boolean mClosed concode_elem_sep String TAG concode_field_sep byte nativeReadByte concode_elem_sep int read concode_elem_sep byte read concode_elem_sep int adjustByteCount concode_elem_sep void nativeCopyFromByteArray concode_elem_sep long nativeAllocate concode_elem_sep void nativeCopyToByteArray concode_elem_sep int getSize concode_elem_sep void nativeMemcpy concode_elem_sep boolean isClosed concode_elem_sep long getNativePtr concode_elem_sep void checkBounds concode_elem_sep void finalize concode_elem_sep void copy concode_elem_sep void nativeFree concode_elem_sep void close concode_elem_sep int write