is there a way to convert byte arrays to integer in GO?. here is my
situation, im porting my legacy C program to Go, and in old codes, i
have special integer sizes, int8, int16, (int24 - 3bytes), int32,
(int40 - 5bytes), int64. that way provides some compression to my
internal database format. so when i read a 3-bytes (int24) from the
DB, i need to convert it to int32 for processing. any suggestion on
how to convert this?
thanks in advance.
--
Subscription settings:
http://groups.google.com/group/golang-nuts/subscribe?hl=en