Module Data_encoding.Compact
type 'a t = 'a Mavryk_base.TzPervasives.Data_encoding.Compact.t
val make : ?tag_size:[ `Uint0 | `Uint16 | `Uint8 ] -> 'a t -> 'a encoding
val tag_bit_count : 'a t -> int
val option : 'a t -> 'a option t
val conv : ?json:'a encoding -> ('a -> 'b) -> ('b -> 'a) -> 'b t -> 'a t
val tup2 : 'a t -> 'b t -> ('a * 'b) t
val tup3 : 'a t -> 'b t -> 'c t -> ('a * 'b * 'c) t
val tup4 : 'a t -> 'b t -> 'c t -> 'd t -> ('a * 'b * 'c * 'd) t
val tup5 :
'f1 t ->
'f2 t ->
'f3 t ->
'f4 t ->
'f5 t ->
('f1 * 'f2 * 'f3 * 'f4 * 'f5) t
val tup6 :
'f1 t ->
'f2 t ->
'f3 t ->
'f4 t ->
'f5 t ->
'f6 t ->
('f1 * 'f2 * 'f3 * 'f4 * 'f5 * 'f6) t
val tup7 :
'f1 t ->
'f2 t ->
'f3 t ->
'f4 t ->
'f5 t ->
'f6 t ->
'f7 t ->
('f1 * 'f2 * 'f3 * 'f4 * 'f5 * 'f6 * 'f7) t
val tup8 :
'f1 t ->
'f2 t ->
'f3 t ->
'f4 t ->
'f5 t ->
'f6 t ->
'f7 t ->
'f8 t ->
('f1 * 'f2 * 'f3 * 'f4 * 'f5 * 'f6 * 'f7 * 'f8) t
val tup9 :
'f1 t ->
'f2 t ->
'f3 t ->
'f4 t ->
'f5 t ->
'f6 t ->
'f7 t ->
'f8 t ->
'f9 t ->
('f1 * 'f2 * 'f3 * 'f4 * 'f5 * 'f6 * 'f7 * 'f8 * 'f9) t
val tup10 :
'f1 t ->
'f2 t ->
'f3 t ->
'f4 t ->
'f5 t ->
'f6 t ->
'f7 t ->
'f8 t ->
'f9 t ->
'f10 t ->
('f1 * 'f2 * 'f3 * 'f4 * 'f5 * 'f6 * 'f7 * 'f8 * 'f9 * 'f10) t
val req : string -> 'a t -> 'a field
val opt : string -> 'a t -> 'a option field
val list : bits:int -> 'a encoding -> 'a list t
val case :
title:string ->
?description:string ->
'b t ->
('a -> 'b option) ->
('b -> 'a) ->
'a case
val union : ?union_tag_bits:int -> ?cases_tag_bits:int -> 'a case list -> 'a t
val void_case : title:string -> 'a case
val or_int32 :
int32_title:string ->
alt_title:string ->
?alt_description:string ->
'a encoding ->
(int32, 'a) Either.t t