RFR 8251989: Hex formatting and parsing

Douglas Surber douglas.surber at oracle.com
Thu Sep 3 21:38:34 UTC 2020


> Are there current hex formatting in code you are aware of that already uses
> prefixes or suffixes on each byte?
> 

Java. My example. 

> 	{ 0x00, 0x01, 0x02, 0xOD, 0x0E, 0x0F }


Douglas

> On Sep 3, 2020, at 2:24 PM, core-libs-dev-request at openjdk.java.net wrote:
> 
> Date: Thu, 3 Sep 2020 16:13:49 -0400
> From: Roger Riggs <Roger.Riggs at oracle.com <mailto:Roger.Riggs at oracle.com>>
> To: core-libs-dev at openjdk.java.net <mailto:core-libs-dev at openjdk.java.net>
> Subject: Re: RFR 8251989: Hex formatting and parsing
> Message-ID: <7135b593-e48e-6931-4577-eb4350e51fd9 at oracle.com <mailto:7135b593-e48e-6931-4577-eb4350e51fd9 at oracle.com>>
> Content-Type: text/plain; charset=utf-8; format=flowed
> 
> Hi Douglas,
> 
> I think you answered your own question at the outset. (with the API as 
> it stands).
> 
> Are there current hex formatting in code you are aware of that already uses
> prefixes or suffixes on each byte?
> 
> I'm evauating whether there is consensus to change the semantics of 
> prefix and suffix.
> 
> Thanks, Roger
> 
> 



More information about the core-libs-dev mailing list