package bap-std
Install
dune-project
Dependency
Authors
Maintainers
Sources
sha256=63ada71fa4f602bd679174dc6bf780d54aeded40ad4ec20d256df15886e3d2d5
md5=b8b1aff8c6846f2213eafc54de07b304
doc/bap/Bap/Std/Bitvector/Io/index.html
Module Bitvector.Io
Input/Output functions for the given datum.
val read : ?ver:string -> ?fmt:string -> string -> tread ?ver ?fmt file reads datum from a file
val load : ?ver:string -> ?fmt:string -> Core_kernel.In_channel.t -> tload ?ver ?fmt channel loads datum from the input channel
val load_all :
?ver:string ->
?fmt:string ->
?rev:bool ->
Core_kernel.In_channel.t ->
t listread_all ?ver ?fmt ?rev channel reads a sequence of datums stored in the storage accessed via channel and returns it as a list. If rev is true (defaults to false) then a list will be reversed (slightly faster).
val scan :
?ver:string ->
?fmt:string ->
Core_kernel.In_channel.t ->
unit ->
t optionscan ?ver ?fmt channel creates a stream of data, that are loaded consequently from the channel
val write : ?ver:string -> ?fmt:string -> string -> t -> unitwrite ?ver ?fmt file datum writes the datum to the file
val save : ?ver:string -> ?fmt:string -> Core_kernel.Out_channel.t -> t -> unitsave ?ver ?fmt channel datum saves the datum to the channel
val save_all :
?ver:string ->
?fmt:string ->
Core_kernel.Out_channel.t ->
t list ->
unitsave_all ?ver ?fmt data channel saves a list of data into a channel
val dump :
?ver:string ->
?fmt:string ->
Core_kernel.Out_channel.t ->
(unit -> t option) ->
unitdump ?ver ?fmt chan stream dumps a stream (represented by a next function) into channel.
val show : ?ver:string -> ?fmt:string -> t -> unitshow ?ver ?fmt datum saves datum to standard output channel, using a default_printer if fmt is not specified. Does nothing the printer is not set up.
val print : ?ver:string -> ?fmt:string -> Format.formatter -> t -> unitprint ?ver ?fmt ppf prints datum to a given formatter, using a default_printer if fmt is left unspecified.