package tezos-protocol-environment

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

Module Data_encoding.BinarySource

val length : 'a encoding -> 'a -> int
val fixed_length : 'a encoding -> int option
Sourceval read : 'a encoding -> MBytes.t -> int -> int -> (int * 'a) option
Sourceval write : 'a encoding -> 'a -> MBytes.t -> int -> int -> int option
Sourceval to_bytes : 'a encoding -> 'a -> MBytes.t option
Sourceval to_bytes_exn : 'a encoding -> 'a -> MBytes.t
Sourceval of_bytes : 'a encoding -> MBytes.t -> 'a option
type write_error
exception Write_error of write_error
OCaml

Innovation. Community. Security.