| Package | Description |
|---|---|
| se.l4.commons.io |
| Modifier and Type | Method and Description |
|---|---|
static <T> java.util.function.Consumer<T> |
IoConsumer.adapt(IoConsumer<T> consumer) |
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.
|
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.
|
Copyright © 2017. All rights reserved.