Releases: GolemOrg/NettyHelpers
Releases · GolemOrg/NettyHelpers
NettyHelpers - v0.1.0
Features
Variable-length encoding
As variable-length encoding is used in the Bedrock protocol, it only makes sense to implement it here. Four new network types have been defined for this feature:
VarIntVarLongUVarIntUVarLong
While these types can be used to encode/decode, there are new extension methods designed to read/write primitives only using Netty's ByteBuf. These new extension methods are:
ByteBuf.readVarInt(): IntByteBuf.writeVarInt(value: Int): ByteBufByteBuf.readVarLong(): VarLongByteBuf.writeVarLong(value: Long): ByteBufByteBuf.readUVarInt(): UIntByteBuf.writeUVarInt(value: UInt): ByteBufByteBuf.readUVarLong(): ULongByteBuf.writeUVarLong(value: ULong): ByteBuf
Any issues with the encoding/decoding of these types can and should be reported here.
NettyHelpers - v0.0.2
This is the first release of the NettyHelpers library. Any issues or suggestions with the library can be made here!