dev@fi.java.net

Re: Byte Encoding Algorithm

From: Alan Hudson <giles_at_yumetech.com>
Date: Mon, 28 Feb 2005 10:06:08 -0800

Paul Sandoz wrote:

> 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...
>
I assume we could also add it later as an ammendment right? Ie overtime
you expect some number of new builtins right?