RFR: 8170769 Provide a simple hexdump facility for binary data

Sean Mullan sean.mullan at oracle.com
Mon Nov 26 13:27:29 UTC 2018


The API link should be 
http://cr.openjdk.java.net/~vinnie/8170769/javadoc.06/api/java.base/java/util/Hex.htm

--Sean

On 11/23/18 9:51 AM, Vincent Ryan wrote:
> Hello,
> 
> 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.
> 
> Thanks
> 
> 
> Bug: https://bugs.openjdk.java.net/browse/JDK-8170769
> API: 
> http://cr.openjdk.java.net/~vinnie/8170769/javadoc.06/api/java.base/java/util/Hex.html 
> 
> 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