| Package | Description |
|---|---|
| io.jarasandha.util.io |
| Modifier and Type | Method and Description |
|---|---|
static long |
ByteBufs.calculateChecksum(io.netty.buffer.ByteBuf givenByteBuf) |
static io.netty.buffer.ByteBuf |
Snappy.compress(io.netty.buffer.ByteBufAllocator allocator,
io.netty.buffer.ByteBuf raw) |
static io.netty.buffer.ByteBuf |
ByteBufs.compress(io.netty.buffer.ByteBufAllocator allocator,
io.netty.buffer.ByteBuf decompressed) |
static io.netty.buffer.ByteBuf |
Snappy.decompress(io.netty.buffer.ByteBufAllocator allocator,
io.netty.buffer.ByteBuf compressed) |
static io.netty.buffer.ByteBuf |
ByteBufs.decompress(io.netty.buffer.ByteBufAllocator allocator,
io.netty.buffer.ByteBuf compressed) |
static int |
ByteBufs.write(FileChannel destination,
long positionToWriteTo,
long numBytesToWrite,
ReadableByteChannel source) |
static int |
ByteBufs.write(FileChannel destination,
long positionToWriteTo,
long numBytesToWrite,
ReadableByteChannel source) |
static int |
ByteBufs.writeChunks(WritableByteChannel destination,
io.netty.buffer.ByteBuf data,
int chunkWriteSizeBytes) |
static int |
ByteBufs.writeChunks(WritableByteChannel destination,
io.netty.buffer.ByteBuf data,
int chunkWriteSizeBytes) |
static int |
ByteBufs.writeOptimized(WritableByteChannel destination,
io.netty.buffer.ByteBuf data,
int pow2ChunkWriteSizeBytes)
An optimized form of
ByteBufs.writeChunks(WritableByteChannel, ByteBuf, int) where data is written in chunks
that are aligned at the given size. |
static int |
ByteBufs.writeOptimized(WritableByteChannel destination,
io.netty.buffer.ByteBuf data,
int pow2ChunkWriteSizeBytes)
An optimized form of
ByteBufs.writeChunks(WritableByteChannel, ByteBuf, int) where data is written in chunks
that are aligned at the given size. |
Copyright © 2018. All rights reserved.