package core_profiler

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Protocol.BufferSource

Handles allocating Iobuf.t and making sure there's enough space in it.

Sourceval get_header_chunk : unit -> (Core.read, _) Iobuf.t
Sourceval ensure_free : int -> unit

All of these will push the current chunk into the list of previous chunks first; a new chunk will then be allocated on the next write.

Sourceval is_empty : unit -> bool

Is the main (short message) buffer empty?

Sourceval get_chunks : unit -> (Core.read_write, Iobuf.no_seek) Iobuf.t list
Sourcemodule Unsafe_internals : sig ... end

To aid producing test cases for Reader.