• OCaml logo OCaml logo
  • Learn
  • Packages
  • Community
  • Blog
  • Playground
  • Searching...
    Or go to: Standard Library API
  • Learn
  • Packages
  • Community
  • Blog
  • Playground
  • Get started
  • bin_prot

  • Documentation
  • doc
package bin_prot
  • bin_prot
    • Bin_prot
      • Binable
        • Minimal
          • S
          • S1
          • S2
          • S3
        • S
        • S1
        • S2
        • S3
        • S_only_functions
      • Blob
        • Ignored
        • Opaque
          • Bigstring
          • String
      • Common
        • ReadError
      • Md5
      • Nat0
      • Read
      • Shape
      • Size
        • Maximum
        • Minimum
      • Std
      • Type_class
        • S1
        • S2
        • S3
      • Utils
        • Make_binable
          • Bin_spec
            • Binable
        • Make_binable1
          • Bin_spec
            • Binable
        • Make_binable1_spec
          • Binable
        • Make_binable2
          • Bin_spec
            • Binable
        • Make_binable2_spec
          • Binable
        • Make_binable3
          • Bin_spec
            • Binable
        • Make_binable3_spec
          • Binable
        • Make_binable_spec
          • Binable
        • Make_iterable_binable
          • Iterable_spec
        • Make_iterable_binable1
          • Iterable_spec
        • Make_iterable_binable1_spec
        • Make_iterable_binable2
          • Iterable_spec
        • Make_iterable_binable2_spec
        • Make_iterable_binable3
          • Iterable_spec
        • Make_iterable_binable3_spec
        • Make_iterable_binable_spec
        • Of_minimal
          • S
      • Write
  • bin_prot_xen
    • Bin_prot_xen
  • bin_shape_lib
    • Bin_shape_lib
      • Bin_shape
        • Canonical
          • Create
          • Def
          • Exp
        • Digest
        • For_typerep
        • Location
        • Tid
        • Uuid
        • Vid
      • Std
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t
type el
val caller_identity : Bin_prot.Shape.Uuid.t

caller_identity is necessary to ensure different callers of Make_iterable_binable are not shape compatible.

val module_name : string option
val length : t -> int
val iter : t -> f:(el -> unit) -> unit
val init : len:int -> next:(unit -> el) -> t
val bin_size_el : el Size.sizer
val bin_write_el : el Write.writer
val bin_read_el : el Read.reader
val bin_shape_el : Shape.t

Footer

OCaml

Innovation. Community. Security.

GitHub Discord Twitter Peertube RSS

About Us

  • Industrial Users
  • Academic Users
  • Why OCaml

Resources

  • Get Started
  • Language Manual
  • Standard Library API
  • Books
  • Releases

Community

  • Blog
  • Jobs

Policies

  • Carbon Footprint
  • Governance
  • Privacy
  • Code of Conduct