| Package | Description |
|---|---|
| se.l4.commons.io |
| Modifier and Type | Class and Description |
|---|---|
class |
BytesOverByteArray |
class |
InputStreamBytes
Implementation of
Bytes over a InputStream. |
| Modifier and Type | Field and Description |
|---|---|
static Bytes |
BytesOverByteArray.EMPTY |
| Modifier and Type | Method and Description |
|---|---|
Bytes |
BytesBuilder.build() |
static Bytes |
Bytes.create(byte[] byteArray)
Create an instance for the given array of bytes.
|
static Bytes |
Bytes.create(IoSupplier<InputStream> stream)
Create an instance over the given input stream.
|
static Bytes |
Bytes.empty()
Get an instance that represents no data.
|
Bytes |
DefaultByteMessage.getData() |
Bytes |
ByteMessage.getData() |
static Bytes |
Bytes.lazyViaDataOutput(IoConsumer<ExtendedDataOutput> creator)
Create an instance that will create data on demand.
|
static Bytes |
Bytes.lazyViaDataOutput(IoConsumer<ExtendedDataOutput> creator,
int expectedSize)
Create an instance that will create data on demand.
|
Bytes |
ExtendedDataInputStream.readBytes() |
Bytes |
ExtendedDataInput.readBytes() |
Bytes |
ExtendedDataInputStream.readTemporaryBytes() |
Bytes |
ExtendedDataInput.readTemporaryBytes() |
static Bytes |
Bytes.viaDataOutput(IoConsumer<ExtendedDataOutput> creator)
Create an instance by running the given function and storing the result in memory.
|
static Bytes |
Bytes.viaDataOutput(IoConsumer<ExtendedDataOutput> creator,
int expectedSize)
Create an instance by running the given function and storing the result in memory.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ExtendedDataOutputStream.writeBytes(Bytes bytes) |
void |
ExtendedDataOutput.writeBytes(Bytes bytes) |
| Constructor and Description |
|---|
DefaultByteMessage(long tag,
Bytes data) |
Copyright © 2017. All rights reserved.