diff options
author | Damien Doligez <damien.doligez-inria.fr> | 2014-05-01 21:54:15 +0000 |
---|---|---|
committer | Damien Doligez <damien.doligez-inria.fr> | 2014-05-01 21:54:15 +0000 |
commit | 9baf42b72da71213f483e3cc3b9ed9088cdf76ff (patch) | |
tree | 65c6cbb610ddce5c345e6afc60fe33fdc8830385 /stdlib/marshal.mli | |
parent | 05100e597e4296a2e79e6c2d9cd75b7e1cc595c9 (diff) | |
download | ocaml-9baf42b72da71213f483e3cc3b9ed9088cdf76ff.tar.gz |
safe-string: documentation fixes and add a couple of functions in Pervasives and Digest
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@14721 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'stdlib/marshal.mli')
-rw-r--r-- | stdlib/marshal.mli | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/stdlib/marshal.mli b/stdlib/marshal.mli index 1099773a39..d16ce5ef94 100644 --- a/stdlib/marshal.mli +++ b/stdlib/marshal.mli @@ -110,7 +110,7 @@ val to_channel : out_channel -> 'a -> extern_flags list -> unit external to_bytes : 'a -> extern_flags list -> bytes = "caml_output_value_to_string" -(** [Marshal.to_string v flags] returns a byte sequence containing +(** [Marshal.to_bytes v flags] returns a byte sequence containing the representation of [v]. The [flags] argument has the same meaning as for {!Marshal.to_channel}. *) @@ -139,7 +139,7 @@ val from_bytes : bytes -> int -> 'a (** [Marshal.from_bytes buff ofs] unmarshals a structured value like {!Marshal.from_channel} does, except that the byte representation is not read from a channel, but taken from - the string [buff], starting at position [ofs]. *) + the byte sequence [buff], starting at position [ofs]. *) val from_string : string -> int -> 'a (** Same as [from_bytes] but take a string as argument instead of a |