commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gary Gregory <garydgreg...@gmail.com>
Subject Re: [Lang] Suggestion for improvement: Util for conversion between primitive types
Date Wed, 02 May 2012 16:26:21 GMT
Can you create a JIRA and attach the patch?

Thank you,
Gary

On May 2, 2012, at 12:22, "matic@nimp.co.uk" <matic@nimp.co.uk> wrote:

> Hello,
>
> I am developing a utility class and would like to contribute it to an
> Apache project. Its purpose is to convert data from one primitive type to
> another,
> in the most commonly used fashions (big endian/little endian byte order,
> lsb first
> or msb first). It also deals with arrays of primitive types and String
> containing hexadecimal numbers.
>
> Such conversions are needed when dealing with embedded software or hardware
> modeling/design.
>
> As it is rather boring and time consuming to do so, I would like to share
> it with others.
> The other motivation being that other people may find bugs and performance
> improvement...
>
> I suggest it in the commons.lang3 package because it contains similar
> utility classes made of simple
> static methods. Some time ago Commons Codec and Commons Convert have been
> suggested, but I think both
> aim at a higher level of functionality with more complex classes.
>
> Please let me know your opinion. I attach the source files and a diff file.
>
> Best regards,
> Sebastien
>
> --------------------------------------------------------------------
> myhosting.com - Premium Microsoft® Windows® and Linux web and application
> hosting - http://link.myhosting.com/myhosting
>
> <patch_Conversion.txt>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
> For additional commands, e-mail: dev-help@commons.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@commons.apache.org
For additional commands, e-mail: dev-help@commons.apache.org


Mime
View raw message