You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by Sergey Mamitko <sm...@isd.dp.ua> on 2008/07/03 19:29:44 UTC
ByteBuffer.getHexDump()
Hello,
What is main idea to print word "empty" in method ByteBuffer.getHexDump-> ByteBufferHexDumper.getHexdump if buffer is empty?
In this case I need additionally check size of buffer before using that method.
MINA 1.1.7
-------------------------
Sergey Mamitko
ISD, http://www.isd.dp.ua/index.html.en
Re: ByteBuffer.getHexDump()
Posted by Emmanuel Lecharny <el...@apache.org>.
Sergey Mamitko wrote:
> Hello,
>
> What is main idea to print word "empty" in method ByteBuffer.getHexDump-> ByteBufferHexDumper.getHexdump if buffer is empty?
> In this case I need additionally check size of buffer before using that method.
>
This method has mainly been written to provide some useful debugging
information, so maybe printing empty instead of is better (note the
missing word between 'of' and 'is' :)
--
--
cordialement, regards,
Emmanuel Le'charny
www.iktek.com
directory.apache.org