Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] int -> byte array (and back)
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Dustin Sallings <dustin@s...>
Subject: [Caml-list] int -> byte array (and back)

	I need to be able to get a byte array (specifically in little-endian 
format) from an int.  I'll need the reverse as well.  Is there anything 
that does that in the distribution, or do I need to calculate it 
myself?  Just trying to do things the right way.

-- 
Dustin Sallings

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners