Anand Bora wrote:
Hi all,

I'm facing a weird issue. I'm trying to find out the current length of the 
ByteBuffer which is filled with data.
I tried to use the position() function but the problem is it increments the 
position also.
What is the exact function which can give me the filled up length, if any?

Thanks,
Anand


buffer.available() gives you that, no?

DR

Reply via email to