public class NioUtil extends Object
Modifier and Type | Class and Description |
---|---|
static class |
NioUtil.BufferType |
Modifier and Type | Method and Description |
---|---|
static void |
copyAtStride(int n,
NioUtil.BufferType bufferType,
ByteBuffer from,
int fromOffset,
int fromStride,
ByteBuffer to,
int toOffset,
int toStride)
Copy from the given from buffer
to the to buffer at the specified
offsets and strides
|
public static void copyAtStride(int n, NioUtil.BufferType bufferType, ByteBuffer from, int fromOffset, int fromStride, ByteBuffer to, int toOffset, int toStride)
n
- bufferType
- from
- the origin bufferfromOffset
- the starting offsetfromStride
- the stride at which to copy from the originto
- the destination buffertoOffset
- the starting pointtoStride
- the to strideCopyright © 2017. All rights reserved.