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.
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' :)