Netty's ChannelBuffer class provides convenient methods for reading unsigned types from a ChannelBuffer, however there don't appear to be any equivalent methods for writing unsigned types to a ChannelBuffer.
I feel like I must be missing something. What's the recommended approach for say, writing an unsigned integer to a ChannelBuffer?
Thanks!
If you want to write a 32-bit value its all the same.
channelBuffer.writeInt(my32bitValue);
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With