public class ByteBufferUtils extends Object
Modifier and Type | Method and Description |
---|---|
static int |
transferData(ByteBuffer in,
ByteBuffer out)
Transfers as much data as possible from an input ByteBuffer to an output ByteBuffer
|
public static int transferData(ByteBuffer in, ByteBuffer out)
in
- The input ByteBufferout
- The output ByteBufferCopyright © 2021. All rights reserved.