On 12/19/05, Hans-Martin Mosner hmm@heeg.de wrote:
So a method which converts an Integer into a big-endian ByteArray should be called #asBigEndianByteArray, and the method to convert a big endian ByteArray back into an Integer would probably be #asBigEndianInteger (although I like that name less...).
#asIntegerFromBigEndian? Apart from that, +1
(i'm not sure about the feasability of direct streaming - last time I looked at ASN.1 has been a while and all I remember is that it was a bit messy ;-)).