include Mirage_device.S with type 'a io = 'a Lwt.t with type t = t
type 'a io = 'a Lwt.t
The type for potentially blocking I/O operation
type t = t
The type representing the internal state of the device
type page_aligned_buffer = Cstruct.t
The type for memory buffers.
val read : t -> string -> int64 -> int64 -> ( page_aligned_buffer list, error ) Pervasives.result io
read t key offset length reads up to
length bytes from the value associated with
key. If less data is returned than requested, this indicates the end of the value.
mem t key returns
true if a value is set for
false if not so.