Add a new method getHexDump with a pretty flag and use the old one to call
with false

Le dim. 13 sept. 2020 à 01:23, Jonathan Valliere <[email protected]> a
écrit :

> I'm adding some additional methods to IoBufferHexDumper to produce pretty
> hex dumps for debugging purposes.
>
> Possible options to expose the new methods:
>
>    1. Making IoBufferHexDumper class public instead of package local
>    2. Add another public method to IoBuffer (e.g.
>    IoBuffer#getPrettyHexDump() or #getVerboseHexDump()
>    3. Overload IoBuffer#getHexDump() to include "boolean pretty" to enable
>    pretty dumps.
>
> Anyone have any opinions?
>

Reply via email to