package protocol-9p

  1. Overview
  2. Docs

Module Protocol_9p.TypesSource

Parsers and printers for types used in 9P messages

Sourceval big_enough_for : string -> Cstruct.t -> int -> (unit, [ `Msg of string ]) result

big_enough_for name buf length returns an error with a log message if buffer buf is smaller than length. The name will be included in the error message.

Sourcemodule Int8 : sig ... end
Sourcemodule Int16 : sig ... end
Sourcemodule Int32 : sig ... end
Sourcemodule Int64 : sig ... end
Sourcemodule Version : sig ... end
Sourcemodule Fid : sig ... end
Sourcemodule OpenMode : sig ... end
Sourcemodule FileMode : sig ... end
Sourcemodule Qid : sig ... end
Sourcemodule Tag : sig ... end
Sourcemodule Data : sig ... end
Sourcemodule Stat : sig ... end
Sourcemodule Arr (T : sig ... end) : sig ... end

A sequence of T.ts written contiguously to a buffer