Browse thread
How to handle endianness and binary string conversion for 32 bits integers (Int32)?
-
David MENTRE
- Nicolas George
- Nicolas Cannasse
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | Nicolas Cannasse <warplayer@f...> |
| Subject: | Re: [Caml-list] How to handle endianness and binary string conversion for 32 bits integers (Int32)? |
> Hello, > > I would like to: > > 1. convert between big and little endian 32 bits integers; > > 2. convert between 32 bits integers and string binary representation > (to store integers in Buffer and string data structures); Extlib IO module have some code about that, See http://ocaml-lib.sourceforge.net/doc/IO.html Nicolas