public interface Slice
Modifier and Type | Method and Description |
---|---|
java.nio.ByteBuffer |
asReadOnlyByteBuffer() |
byte |
byteAt(int position) |
void |
copyTo(byte[] target) |
void |
copyTo(byte[] target,
int targetOffset) |
void |
copyTo(java.nio.ByteBuffer target) |
void |
copyTo(java.io.OutputStream outputStream) |
int |
readableBytes() |
byte[] |
toByteArray() |
int readableBytes()
void copyTo(java.nio.ByteBuffer target)
void copyTo(byte[] target)
void copyTo(byte[] target, int targetOffset)
void copyTo(java.io.OutputStream outputStream)
byte byteAt(int position)
java.nio.ByteBuffer asReadOnlyByteBuffer()
byte[] toByteArray()
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.