package tezos-protocol-compiler

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val length : 'a encoding -> 'a -> int
val fixed_length : 'a encoding -> int option
val read : 'a encoding -> bytes -> int -> int -> (int * 'a) option
val write : 'a encoding -> 'a -> bytes -> int -> int -> int option
val to_bytes : 'a encoding -> 'a -> bytes option
val to_bytes_exn : 'a encoding -> 'a -> bytes
val of_bytes : 'a encoding -> bytes -> 'a option
type write_error
exception Write_error of write_error