package protocol-9p
Module Protocol_9p.RequestSource
Parsers and printers for all 9P request messages.
A variant type containing all possible request payloads
Source
type t = {tag : Protocol_9p__.Protocol_9p_types.Tag.t;(*The tag used to match the response with the original request
*)payload : payload;
}A 9P protocol request
Read a t from the given buffer and return it, along with the unused remainder of the buffer. If the buffer cannot be parsed then return an error.
Write a t into the given buffer. If the buffer is too small, then return an error. Return the unused remainder of the buffer.
The size of the fixed request header