[Home] Module Microsoft.FSharp.Compatibility.OCaml.Bytearray


Byte arrays. Arrays of bytes are guaranteed to be type-compatible with the C# byte[] type, regardless of the version of .NET used.

Type Definitions

TypeDescription
type bytearray Note: an abbreviation for byte []
type encoding Note: an abbreviation for Encoding

Values

ValueDescription
val append : byte [] -> byte [] -> byte []
val ascii_to_string : byte [] -> string
val blit : byte [] -> int -> byte [] -> int -> int -> unit
val compare : byte [] -> byte [] -> int
val concat : byte [] list -> byte []
val copy : byte [] -> byte []
val create : int -> byte []
val fill : byte [] -> int -> int -> byte -> unit
val fold_left : ('a -> byte -> 'a) -> 'a -> byte [] -> 'a
Apply a function to each element of the collection, threading an 'accumulator' argument through the computation. If the elements are "i0...iN" then computes "f (... (f s i0)...) iN"
val fold_right : (byte -> 'a -> 'a) -> byte [] -> 'a -> 'a
Apply a function to each element of the collection, threading an 'accumulator' argument through the computation. If the elements are "i0...iN" then computes "f i0 (...(f iN s))".
val get : byte [] -> int -> byte
val init : int -> (int -> byte) -> byte []
val iter : (byte -> unit) -> byte [] -> unit
Apply the given function to each element of the collection.
val iteri : (int -> byte -> unit) -> byte [] -> unit
Apply the given function to each element of the collection. The integer passed to the function indicates the index of element.
val length : byte [] -> int
val make : int -> byte []
val map : (byte -> byte) -> byte [] -> byte []
Build a new collection whose elements are the results of applying the given function to each of the elements of the collection.
val mapi : (int -> byte -> byte) -> byte [] -> byte []
Build a new collection whose elements are the results of applying the given function to each of the elements of the collection. The integer index passed to the function indicates the index of element being transformed.
val of_list : byte list -> byte []
Build a collection from the given list
val set : byte [] -> int -> byte -> unit
val string_to_ascii : string -> byte []
val sub : byte [] -> int -> int -> byte []
val to_list : byte [] -> byte list
Build a list from the given collection
val zero_create : int -> byte []

See Also

Microsoft.FSharp.Compatibility.OCaml


Documentation for assembly FSharp.Compatibility, version 1.9.4.19, generated using F# version 1.9.4.19