dev@fi.java.net

Re: Byte Encoding Algorithm

From: Paul Sandoz <Paul.Sandoz_at_Sun.COM>
Date: Mon, 28 Feb 2005 09:38:25 +0100

Alan Hudson wrote:
> A built-in byte encoding algorithm might be useful. My encoders are
> doing algorithm matching on a per element/attribute basis. So if I have
> a string of numbers I test for floats, then ints, then shorts... ie to
> best fit it. Sometimes a sequence of numbers will all fit as bytes
> instead of shorts. I can/have made this a custom algo, but it might
> have applicability across a lot of specs.

Good point. The ASN.1 group will be meeting in months time to resolve
ballot comments. It is a long shot but it just may be possible to add as
this is a simple localized addition. We shall see...

Paul.

-- 
| ? + ? = To question
----------------\
    Paul Sandoz
         x38109
+33-4-76188109