Package-level declarations

Types

Link copied to clipboard
class BitBuf(buf: ByteBuf) : AutoCloseable
Link copied to clipboard
object BufferModule : AbstractModule
Link copied to clipboard
@Singleton
class ByteBufBodyHandler @Inject constructor(alloc: ByteBufAllocator) : HttpResponse.BodyHandler<ByteBuf>

Functions

Link copied to clipboard
fun copiedBuffer(s: String, charset: Charset = Charsets.UTF_8): ByteBuf
Link copied to clipboard
fun ByteBuf.crc32(): Int
fun ByteBuf.crc32(index: Int, len: Int): Int
Link copied to clipboard
fun ByteBuf.getBooleanA(index: Int): Boolean
Link copied to clipboard
fun ByteBuf.getBooleanC(index: Int): Boolean
Link copied to clipboard
fun ByteBuf.getBooleanS(index: Int): Boolean
Link copied to clipboard
fun ByteBuf.getByteA(index: Int): Byte
Link copied to clipboard
fun ByteBuf.getByteC(index: Int): Byte
Link copied to clipboard
fun ByteBuf.getByteS(index: Int): Byte
Link copied to clipboard
fun ByteBuf.getBytesA(index: Int, dst: ByteBuf): ByteBuf
fun ByteBuf.getBytesA(index: Int, dst: ByteArray): ByteBuf
fun ByteBuf.getBytesA(index: Int, dst: ByteBuf, len: Int): ByteBuf
fun ByteBuf.getBytesA(index: Int, dst: ByteBuf, dstIndex: Int, len: Int): ByteBuf
fun ByteBuf.getBytesA(index: Int, dst: ByteArray, dstIndex: Int, len: Int): ByteBuf
Link copied to clipboard
fun ByteBuf.getBytesC(index: Int, dst: ByteBuf): ByteBuf
fun ByteBuf.getBytesC(index: Int, dst: ByteArray): ByteBuf
fun ByteBuf.getBytesC(index: Int, dst: ByteBuf, len: Int): ByteBuf
fun ByteBuf.getBytesC(index: Int, dst: ByteBuf, dstIndex: Int, len: Int): ByteBuf
fun ByteBuf.getBytesC(index: Int, dst: ByteArray, dstIndex: Int, len: Int): ByteBuf
Link copied to clipboard
fun ByteBuf.getBytesReverse(index: Int, dst: ByteBuf): ByteBuf
fun ByteBuf.getBytesReverse(index: Int, dst: ByteArray): ByteBuf
fun ByteBuf.getBytesReverse(index: Int, dst: ByteBuf, len: Int): ByteBuf
fun ByteBuf.getBytesReverse(index: Int, dst: ByteBuf, dstIndex: Int, len: Int): ByteBuf
fun ByteBuf.getBytesReverse(index: Int, dst: ByteArray, dstIndex: Int, len: Int): ByteBuf
Link copied to clipboard
fun ByteBuf.getBytesReverseA(index: Int, dst: ByteBuf): ByteBuf
fun ByteBuf.getBytesReverseA(index: Int, dst: ByteArray): ByteBuf
fun ByteBuf.getBytesReverseA(index: Int, dst: ByteBuf, len: Int): ByteBuf
fun ByteBuf.getBytesReverseA(index: Int, dst: ByteBuf, dstIndex: Int, len: Int): ByteBuf
fun ByteBuf.getBytesReverseA(index: Int, dst: ByteArray, dstIndex: Int, len: Int): ByteBuf
Link copied to clipboard
fun ByteBuf.getBytesReverseC(index: Int, dst: ByteBuf): ByteBuf
fun ByteBuf.getBytesReverseC(index: Int, dst: ByteArray): ByteBuf
fun ByteBuf.getBytesReverseC(index: Int, dst: ByteBuf, len: Int): ByteBuf
fun ByteBuf.getBytesReverseC(index: Int, dst: ByteBuf, dstIndex: Int, len: Int): ByteBuf
fun ByteBuf.getBytesReverseC(index: Int, dst: ByteArray, dstIndex: Int, len: Int): ByteBuf
Link copied to clipboard
fun ByteBuf.getBytesReverseS(index: Int, dst: ByteBuf): ByteBuf
fun ByteBuf.getBytesReverseS(index: Int, dst: ByteArray): ByteBuf
fun ByteBuf.getBytesReverseS(index: Int, dst: ByteBuf, len: Int): ByteBuf
fun ByteBuf.getBytesReverseS(index: Int, dst: ByteBuf, dstIndex: Int, len: Int): ByteBuf
fun ByteBuf.getBytesReverseS(index: Int, dst: ByteArray, dstIndex: Int, len: Int): ByteBuf
Link copied to clipboard
fun ByteBuf.getBytesS(index: Int, dst: ByteBuf): ByteBuf
fun ByteBuf.getBytesS(index: Int, dst: ByteArray): ByteBuf
fun ByteBuf.getBytesS(index: Int, dst: ByteBuf, len: Int): ByteBuf
fun ByteBuf.getBytesS(index: Int, dst: ByteBuf, dstIndex: Int, len: Int): ByteBuf
fun ByteBuf.getBytesS(index: Int, dst: ByteArray, dstIndex: Int, len: Int): ByteBuf
Link copied to clipboard
fun ByteBuf.getIntAlt3(index: Int): Int
Link copied to clipboard
fun ByteBuf.getIntAlt3Reverse(index: Int): Int
Link copied to clipboard
fun ByteBuf.getShortA(index: Int): Short
Link copied to clipboard
fun ByteBuf.getShortC(index: Int): Short
Link copied to clipboard
fun ByteBuf.getShortLEA(index: Int): Short
Link copied to clipboard
fun ByteBuf.getShortLEC(index: Int): Short
Link copied to clipboard
fun ByteBuf.getShortLES(index: Int): Short
Link copied to clipboard
fun ByteBuf.getShortS(index: Int): Short
Link copied to clipboard
fun ByteBuf.getUnsignedByteA(index: Int): Short
Link copied to clipboard
fun ByteBuf.getUnsignedByteC(index: Int): Short
Link copied to clipboard
fun ByteBuf.getUnsignedByteS(index: Int): Short
Link copied to clipboard
fun ByteBuf.getUnsignedShortA(index: Int): Int
Link copied to clipboard
fun ByteBuf.getUnsignedShortC(index: Int): Int
Link copied to clipboard
fun ByteBuf.getUnsignedShortLEA(index: Int): Int
Link copied to clipboard
fun ByteBuf.getUnsignedShortLEC(index: Int): Int
Link copied to clipboard
fun ByteBuf.getUnsignedShortLES(index: Int): Int
Link copied to clipboard
fun ByteBuf.getUnsignedShortS(index: Int): Int
Link copied to clipboard
fun ByteBuf.readBooleanA(): Boolean
Link copied to clipboard
fun ByteBuf.readBooleanC(): Boolean
Link copied to clipboard
fun ByteBuf.readBooleanS(): Boolean
Link copied to clipboard
fun ByteBuf.readByteA(): Byte
Link copied to clipboard
fun ByteBuf.readByteC(): Byte
Link copied to clipboard
fun ByteBuf.readByteS(): Byte
Link copied to clipboard
fun ByteBuf.readBytesA(dst: ByteBuf): ByteBuf
fun ByteBuf.readBytesA(dst: ByteArray): ByteBuf
fun ByteBuf.readBytesA(len: Int): ByteBuf
fun ByteBuf.readBytesA(dst: ByteBuf, len: Int): ByteBuf
fun ByteBuf.readBytesA(dst: ByteBuf, dstIndex: Int, len: Int): ByteBuf
fun ByteBuf.readBytesA(dst: ByteArray, dstIndex: Int, len: Int): ByteBuf
Link copied to clipboard
fun ByteBuf.readBytesC(dst: ByteBuf): ByteBuf
fun ByteBuf.readBytesC(dst: ByteArray): ByteBuf
fun ByteBuf.readBytesC(len: Int): ByteBuf
fun ByteBuf.readBytesC(dst: ByteBuf, len: Int): ByteBuf
fun ByteBuf.readBytesC(dst: ByteBuf, dstIndex: Int, len: Int): ByteBuf
fun ByteBuf.readBytesC(dst: ByteArray, dstIndex: Int, len: Int): ByteBuf
Link copied to clipboard
fun ByteBuf.readBytesReverse(dst: ByteBuf): ByteBuf
fun ByteBuf.readBytesReverse(dst: ByteArray): ByteBuf
fun ByteBuf.readBytesReverse(len: Int): ByteBuf
fun ByteBuf.readBytesReverse(dst: ByteBuf, len: Int): ByteBuf
fun ByteBuf.readBytesReverse(dst: ByteBuf, dstIndex: Int, len: Int): ByteBuf
fun ByteBuf.readBytesReverse(dst: ByteArray, dstIndex: Int, len: Int): ByteBuf
Link copied to clipboard
fun ByteBuf.readBytesReverseA(dst: ByteBuf): ByteBuf
fun ByteBuf.readBytesReverseA(dst: ByteArray): ByteBuf
fun ByteBuf.readBytesReverseA(len: Int): ByteBuf
fun ByteBuf.readBytesReverseA(dst: ByteBuf, len: Int): ByteBuf
fun ByteBuf.readBytesReverseA(dst: ByteBuf, dstIndex: Int, len: Int): ByteBuf
fun ByteBuf.readBytesReverseA(dst: ByteArray, dstIndex: Int, len: Int): ByteBuf
Link copied to clipboard
fun ByteBuf.readBytesReverseC(dst: ByteBuf): ByteBuf
fun ByteBuf.readBytesReverseC(dst: ByteArray): ByteBuf
fun ByteBuf.readBytesReverseC(len: Int): ByteBuf
fun ByteBuf.readBytesReverseC(dst: ByteBuf, len: Int): ByteBuf
fun ByteBuf.readBytesReverseC(dst: ByteBuf, dstIndex: Int, len: Int): ByteBuf
fun ByteBuf.readBytesReverseC(dst: ByteArray, dstIndex: Int, len: Int): ByteBuf
Link copied to clipboard
fun ByteBuf.readBytesReverseS(dst: ByteBuf): ByteBuf
fun ByteBuf.readBytesReverseS(dst: ByteArray): ByteBuf
fun ByteBuf.readBytesReverseS(len: Int): ByteBuf
fun ByteBuf.readBytesReverseS(dst: ByteBuf, len: Int): ByteBuf
fun ByteBuf.readBytesReverseS(dst: ByteBuf, dstIndex: Int, len: Int): ByteBuf
fun ByteBuf.readBytesReverseS(dst: ByteArray, dstIndex: Int, len: Int): ByteBuf
Link copied to clipboard
fun ByteBuf.readBytesS(dst: ByteBuf): ByteBuf
fun ByteBuf.readBytesS(dst: ByteArray): ByteBuf
fun ByteBuf.readBytesS(len: Int): ByteBuf
fun ByteBuf.readBytesS(dst: ByteBuf, len: Int): ByteBuf
fun ByteBuf.readBytesS(dst: ByteBuf, dstIndex: Int, len: Int): ByteBuf
fun ByteBuf.readBytesS(dst: ByteArray, dstIndex: Int, len: Int): ByteBuf
Link copied to clipboard
fun ByteBuf.readIntAlt3(): Int
Link copied to clipboard
fun ByteBuf.readIntAlt3Reverse(): Int
Link copied to clipboard
fun ByteBuf.readIntSmart(): Int
Link copied to clipboard
fun ByteBuf.readShortA(): Short
Link copied to clipboard
fun ByteBuf.readShortC(): Short
Link copied to clipboard
fun ByteBuf.readShortLEA(): Short
Link copied to clipboard
fun ByteBuf.readShortLEC(): Short
Link copied to clipboard
fun ByteBuf.readShortLES(): Short
Link copied to clipboard
fun ByteBuf.readShortS(): Short
Link copied to clipboard
fun ByteBuf.readShortSmart(): Int
Link copied to clipboard
fun ByteBuf.readString(charset: Charset = Cp1252Charset): String
Link copied to clipboard
fun ByteBuf.readUnsignedByteA(): Short
Link copied to clipboard
fun ByteBuf.readUnsignedByteC(): Short
Link copied to clipboard
fun ByteBuf.readUnsignedByteS(): Short
Link copied to clipboard
fun ByteBuf.readUnsignedIntSmart(): Int
Link copied to clipboard
fun ByteBuf.readUnsignedShortA(): Int
Link copied to clipboard
fun ByteBuf.readUnsignedShortC(): Int
Link copied to clipboard
fun ByteBuf.readUnsignedShortLEA(): Int
Link copied to clipboard
fun ByteBuf.readUnsignedShortLEC(): Int
Link copied to clipboard
fun ByteBuf.readUnsignedShortLES(): Int
Link copied to clipboard
fun ByteBuf.readUnsignedShortS(): Int
Link copied to clipboard
Link copied to clipboard
fun ByteBuf.readVarInt(): Int
Link copied to clipboard
Link copied to clipboard
fun ByteBuf.setBooleanA(index: Int, value: Boolean): ByteBuf
Link copied to clipboard
fun ByteBuf.setBooleanC(index: Int, value: Boolean): ByteBuf
Link copied to clipboard
fun ByteBuf.setBooleanS(index: Int, value: Boolean): ByteBuf
Link copied to clipboard
fun ByteBuf.setByteA(index: Int, value: Int): ByteBuf
Link copied to clipboard
fun ByteBuf.setByteC(index: Int, value: Int): ByteBuf
Link copied to clipboard
fun ByteBuf.setByteS(index: Int, value: Int): ByteBuf
Link copied to clipboard
fun ByteBuf.setBytesA(index: Int, src: ByteBuf): ByteBuf
fun ByteBuf.setBytesA(index: Int, src: ByteArray): ByteBuf
fun ByteBuf.setBytesA(index: Int, src: ByteBuf, len: Int): ByteBuf
fun ByteBuf.setBytesA(index: Int, src: ByteBuf, srcIndex: Int, len: Int): ByteBuf
fun ByteBuf.setBytesA(index: Int, src: ByteArray, srcIndex: Int, len: Int): ByteBuf
Link copied to clipboard
fun ByteBuf.setBytesC(index: Int, src: ByteBuf): ByteBuf
fun ByteBuf.setBytesC(index: Int, src: ByteArray): ByteBuf
fun ByteBuf.setBytesC(index: Int, src: ByteBuf, len: Int): ByteBuf
fun ByteBuf.setBytesC(index: Int, src: ByteBuf, srcIndex: Int, len: Int): ByteBuf
fun ByteBuf.setBytesC(index: Int, src: ByteArray, srcIndex: Int, len: Int): ByteBuf
Link copied to clipboard
fun ByteBuf.setBytesReverse(index: Int, src: ByteBuf): ByteBuf
fun ByteBuf.setBytesReverse(index: Int, src: ByteArray): ByteBuf
fun ByteBuf.setBytesReverse(index: Int, src: ByteBuf, len: Int): ByteBuf
fun ByteBuf.setBytesReverse(index: Int, src: ByteBuf, srcIndex: Int, len: Int): ByteBuf
fun ByteBuf.setBytesReverse(index: Int, src: ByteArray, srcIndex: Int, len: Int): ByteBuf
Link copied to clipboard
fun ByteBuf.setBytesReverseA(index: Int, src: ByteBuf): ByteBuf
fun ByteBuf.setBytesReverseA(index: Int, src: ByteArray): ByteBuf
fun ByteBuf.setBytesReverseA(index: Int, src: ByteBuf, len: Int): ByteBuf
fun ByteBuf.setBytesReverseA(index: Int, src: ByteBuf, srcIndex: Int, len: Int): ByteBuf
fun ByteBuf.setBytesReverseA(index: Int, src: ByteArray, srcIndex: Int, len: Int): ByteBuf
Link copied to clipboard
fun ByteBuf.setBytesReverseC(index: Int, src: ByteBuf): ByteBuf
fun ByteBuf.setBytesReverseC(index: Int, src: ByteArray): ByteBuf
fun ByteBuf.setBytesReverseC(index: Int, src: ByteBuf, len: Int): ByteBuf
fun ByteBuf.setBytesReverseC(index: Int, src: ByteBuf, srcIndex: Int, len: Int): ByteBuf
fun ByteBuf.setBytesReverseC(index: Int, src: ByteArray, srcIndex: Int, len: Int): ByteBuf
Link copied to clipboard
fun ByteBuf.setBytesReverseS(index: Int, src: ByteBuf): ByteBuf
fun ByteBuf.setBytesReverseS(index: Int, src: ByteArray): ByteBuf
fun ByteBuf.setBytesReverseS(index: Int, src: ByteBuf, len: Int): ByteBuf
fun ByteBuf.setBytesReverseS(index: Int, src: ByteBuf, srcIndex: Int, len: Int): ByteBuf
fun ByteBuf.setBytesReverseS(index: Int, src: ByteArray, srcIndex: Int, len: Int): ByteBuf
Link copied to clipboard
fun ByteBuf.setBytesS(index: Int, src: ByteBuf): ByteBuf
fun ByteBuf.setBytesS(index: Int, src: ByteArray): ByteBuf
fun ByteBuf.setBytesS(index: Int, src: ByteBuf, len: Int): ByteBuf
fun ByteBuf.setBytesS(index: Int, src: ByteBuf, srcIndex: Int, len: Int): ByteBuf
fun ByteBuf.setBytesS(index: Int, src: ByteArray, srcIndex: Int, len: Int): ByteBuf
Link copied to clipboard
fun ByteBuf.setIntAlt3(index: Int, value: Int): ByteBuf
Link copied to clipboard
fun ByteBuf.setIntAlt3Reverse(index: Int, value: Int): ByteBuf
Link copied to clipboard
fun ByteBuf.setShortA(index: Int, value: Int): ByteBuf
Link copied to clipboard
fun ByteBuf.setShortC(index: Int, value: Int): ByteBuf
Link copied to clipboard
fun ByteBuf.setShortLEA(index: Int, value: Int): ByteBuf
Link copied to clipboard
fun ByteBuf.setShortLEC(index: Int, value: Int): ByteBuf
Link copied to clipboard
fun ByteBuf.setShortLES(index: Int, value: Int): ByteBuf
Link copied to clipboard
fun ByteBuf.setShortS(index: Int, value: Int): ByteBuf
Link copied to clipboard
inline fun <T : ReferenceCounted?, R> T.use(block: (T) -> R): R
Link copied to clipboard
fun wrappedBuffer(vararg bytes: Byte): ByteBuf
Link copied to clipboard
fun ByteBuf.writeBooleanA(value: Boolean): ByteBuf
Link copied to clipboard
fun ByteBuf.writeBooleanC(value: Boolean): ByteBuf
Link copied to clipboard
fun ByteBuf.writeBooleanS(value: Boolean): ByteBuf
Link copied to clipboard
fun ByteBuf.writeByteA(value: Int): ByteBuf
Link copied to clipboard
fun ByteBuf.writeByteC(value: Int): ByteBuf
Link copied to clipboard
fun ByteBuf.writeByteS(value: Int): ByteBuf
Link copied to clipboard
fun ByteBuf.writeBytesA(src: ByteBuf): ByteBuf
fun ByteBuf.writeBytesA(src: ByteArray): ByteBuf
fun ByteBuf.writeBytesA(src: ByteBuf, len: Int): ByteBuf
fun ByteBuf.writeBytesA(src: ByteBuf, srcIndex: Int, len: Int): ByteBuf
fun ByteBuf.writeBytesA(src: ByteArray, srcIndex: Int, len: Int): ByteBuf
Link copied to clipboard
fun ByteBuf.writeBytesC(src: ByteBuf): ByteBuf
fun ByteBuf.writeBytesC(src: ByteArray): ByteBuf
fun ByteBuf.writeBytesC(src: ByteBuf, len: Int): ByteBuf
fun ByteBuf.writeBytesC(src: ByteBuf, srcIndex: Int, len: Int): ByteBuf
fun ByteBuf.writeBytesC(src: ByteArray, srcIndex: Int, len: Int): ByteBuf
Link copied to clipboard
fun ByteBuf.writeBytesReverse(src: ByteBuf): ByteBuf
fun ByteBuf.writeBytesReverse(src: ByteArray): ByteBuf
fun ByteBuf.writeBytesReverse(src: ByteBuf, len: Int): ByteBuf
fun ByteBuf.writeBytesReverse(src: ByteBuf, srcIndex: Int, len: Int): ByteBuf
fun ByteBuf.writeBytesReverse(src: ByteArray, srcIndex: Int, len: Int): ByteBuf
Link copied to clipboard
fun ByteBuf.writeBytesReverseA(src: ByteBuf): ByteBuf
fun ByteBuf.writeBytesReverseA(src: ByteArray): ByteBuf
fun ByteBuf.writeBytesReverseA(src: ByteBuf, len: Int): ByteBuf
fun ByteBuf.writeBytesReverseA(src: ByteBuf, srcIndex: Int, len: Int): ByteBuf
fun ByteBuf.writeBytesReverseA(src: ByteArray, srcIndex: Int, len: Int): ByteBuf
Link copied to clipboard
fun ByteBuf.writeBytesReverseC(src: ByteBuf): ByteBuf
fun ByteBuf.writeBytesReverseC(src: ByteArray): ByteBuf
fun ByteBuf.writeBytesReverseC(src: ByteBuf, len: Int): ByteBuf
fun ByteBuf.writeBytesReverseC(src: ByteBuf, srcIndex: Int, len: Int): ByteBuf
fun ByteBuf.writeBytesReverseC(src: ByteArray, srcIndex: Int, len: Int): ByteBuf
Link copied to clipboard
fun ByteBuf.writeBytesReverseS(src: ByteBuf): ByteBuf
fun ByteBuf.writeBytesReverseS(src: ByteArray): ByteBuf
fun ByteBuf.writeBytesReverseS(src: ByteBuf, len: Int): ByteBuf
fun ByteBuf.writeBytesReverseS(src: ByteBuf, srcIndex: Int, len: Int): ByteBuf
fun ByteBuf.writeBytesReverseS(src: ByteArray, srcIndex: Int, len: Int): ByteBuf
Link copied to clipboard
fun ByteBuf.writeBytesS(src: ByteBuf): ByteBuf
fun ByteBuf.writeBytesS(src: ByteArray): ByteBuf
fun ByteBuf.writeBytesS(src: ByteBuf, len: Int): ByteBuf
fun ByteBuf.writeBytesS(src: ByteBuf, srcIndex: Int, len: Int): ByteBuf
fun ByteBuf.writeBytesS(src: ByteArray, srcIndex: Int, len: Int): ByteBuf
Link copied to clipboard
fun ByteBuf.writeIntAlt3(value: Int): ByteBuf
Link copied to clipboard
fun ByteBuf.writeIntAlt3Reverse(value: Int): ByteBuf
Link copied to clipboard
fun ByteBuf.writeIntSmart(v: Int): ByteBuf
Link copied to clipboard
fun ByteBuf.writeShortA(value: Int): ByteBuf
Link copied to clipboard
fun ByteBuf.writeShortC(value: Int): ByteBuf
Link copied to clipboard
fun ByteBuf.writeShortLEA(value: Int): ByteBuf
Link copied to clipboard
fun ByteBuf.writeShortLEC(value: Int): ByteBuf
Link copied to clipboard
fun ByteBuf.writeShortLES(value: Int): ByteBuf
Link copied to clipboard
fun ByteBuf.writeShortS(value: Int): ByteBuf
Link copied to clipboard
fun ByteBuf.writeShortSmart(v: Int): ByteBuf
Link copied to clipboard
fun ByteBuf.writeString(s: CharSequence, charset: Charset = Cp1252Charset): ByteBuf
Link copied to clipboard
fun ByteBuf.writeUnsignedIntSmart(v: Int): ByteBuf
Link copied to clipboard
fun ByteBuf.writeUnsignedShortSmart(v: Int): ByteBuf
Link copied to clipboard
fun ByteBuf.writeVarInt(v: Int): ByteBuf
Link copied to clipboard
fun ByteBuf.writeVersionedString(s: CharSequence): ByteBuf