Use bitstring, enable display of symlinks on NTFS.
[guestfs-browser.git] / utils.mli
index ad14dd0..92e2bb6 100644 (file)
--- a/utils.mli
+++ b/utils.mli
@@ -115,17 +115,9 @@ val tmpdir : unit -> string
       Note that a fresh temporary directory is returned each time you
       call this function. *)
 
-val i32_of_string_le : string -> int32
-  (** [i32_of_string_le str] treats the 4 character string [str] as
-      a little endian 32 bit int.  NB. The string {b must} be
-      4 characters or longer. *)
-
-val i32_of_string_be : string -> int32
-  (** [i32_of_string_le str] treats the 4 character string [str] as
-      a big endian 32 bit int.  NB. The string {b must} be
-      4 characters or longer. *)
-
-val i64_of_string_le : string -> int64
-  (** [i64_of_string_le str] treats the 8 character string [str] as
-      a little endian 64 bit int.  NB. The string {b must} be
-      8 characters or longer. *)
+val windows_string_to_utf8 : string -> string
+  (** Convert a UTF16LE string to UTF8.  This also removes the final
+      \0 word if there is one.
+
+      This may fail in multiple ways, raising a Camomile exception
+      which you probably need to catch. *)