RFR: 8170769 Provide a simple hexdump facility for binary data

Vincent Ryan vincent.x.ryan at oracle.com
Fri Nov 23 14:51:42 UTC 2018


Please review this proposal for a new API to conveniently generate and 
display binary data using hexadecimal string representation.
It supports both bulk and stream operations and it can also generate the 
well-known hexdump format [1].

This latest revision addresses review comments provided earlier.
These include adding methods to support for data supplied in a 
ByteBuffer, exposing the default formatter implementation as a public
static and dropping the superfluous 'Hex' term from several method names.


Bug: https://bugs.openjdk.java.net/browse/JDK-8170769
Webrev: http://cr.openjdk.java.net/~vinnie/8170769/webrev.06/

[1] https://docs.oracle.com/cd/E88353_01/html/E37839/hexdump-1.html

More information about the core-libs-dev mailing list