iopbazar.blogg.se

Java lwjgl source
Java lwjgl source











java lwjgl source

The positions of both buffers are then incremented by n.ĭst.put(src) has exactly the same effect as the loopĮxcept that it first checks that there is sufficient space in thisīuffer and it is potentially much more efficient. Then no longs are transferred and a BufferOverflowException is thrown.īuffer into this buffer, starting at each buffer's current position. Source buffer than in this buffer, that is, if This method transfers the longs remaining in the given sourceīuffer into this buffer. Relative bulk put method (optional operation). get public PointerBuffer get(long dst).Remaining in this buffer - If the preconditions on the offset and length Written must be non-negative and no larger thanĭst.length length - The maximum number of longs to be written to the givenĪrray must be non-negative and no larger thanĭst.length - offset Returns: This buffer Throws: - If there are fewer than length longs Parameters: dst - The array into which longs are to be written offset - The offset within the array of the first long to be This buffer and it is potentially much more efficient. Src.get(dst, off, len) has exactly the same effect asĮxcept that it first checks that there are sufficient longs in In other words, an invocation of this method of the form Otherwise, this method copies length longs from thisīuffer into the given array, starting at the current position of thisīuffer and at the given offset in the array. Longs are transferred and a BufferUnderflowException is If there are fewer longs remaining in theīuffer than are required to satisfy the request, that is, if This method transfers longs from this buffer into the givenĭestination array.













Java lwjgl source