The format of grass integers is indicated in the header file in ...../cellhd
Add 1 to the "format" to get the number of bytes. This is explained in the
programmers manual. The internal representation, however, is a portable
"grass"
format - but that only becomes a problem for -ve numbers I think.
Good luck
Simon Cox
----
__________________________________________________________________
Dr Simon Cox
__ L
,~' L_|\ Department of Earth Sciences
,-' \ Monash University
( \ Clayton Vic 3168 Australia
\ ___ /
L,~' "\_x/ Phone +61 3 565 5762
u Fax +61 3 565 5062
simon@cerberus.earth.monash.edu.au
__________________________________________________________________