| Package | Description |
|---|---|
| io.appulse.utils |
| Modifier and Type | Method and Description |
|---|---|
static Bytes |
Bytes.allocate() |
static Bytes |
Bytes.allocate(int capacity) |
Bytes |
Bytes.clear() |
Bytes |
Bytes.flip() |
Bytes |
Bytes.position(int position) |
Bytes |
Bytes.put(byte value) |
Bytes |
Bytes.put(byte[] bytes) |
Bytes |
Bytes.put(int index,
byte value) |
Bytes |
Bytes.put(int index,
byte[] bytes) |
static Bytes |
BytesUtils.readBytes(java.io.InputStream stream)
Reads all bytes from stream till the end of the stream.
|
static Bytes |
BytesUtils.readBytes(java.io.InputStream stream,
int length)
Reads fixed length bytes from the stream.
|
static Bytes |
SocketUtils.readBytes(java.net.Socket socket) |
static Bytes |
SocketUtils.readBytes(java.net.Socket socket,
int fixedLength) |
static Bytes |
Bytes.wrap(byte[] bytes) |
static Bytes |
Bytes.wrap(java.nio.ByteBuffer buffer) |
Copyright © 2018 Appulse. All rights reserved.