I'm using ChannelBuffers.dynamicBuffer() to manage fragmentation of unknown size messages over a network using Netty. My question is, when I readBytes(...) from the buffer, do the bytes that got read automatically get "trimmed" from the buffer so it doesn't grow to a ridiculous size over time? If not, how would I go about doing this myself?
Thanks.