package ocaml-protoc-plugin
Plugin for protoc protobuf compiler to generate ocaml definitions from a .proto file
Install
Dune Dependency
Authors
Maintainers
Sources
1.0.0.tar.gz
md5=278461dfca05f428e54abddfdf229471
sha512=b54528f0079c3d38d746ba97e48530bc87edfa684bc814623c450ee65502c6d16b9ae304c6ea6e19ff0ca84c454601a367abd35b295abf5b727bc702ff792716
doc/ocaml-protoc-plugin.protobuf/Protobuf/Deserialize/index.html
Module Protobuf.Deserialize
Source
Module for deserializing values
Source
type (_, _) sentinal_list =
| SNil : ('a, 'a) sentinal_list
| SCons : 'a sentinal * ('b, 'c) sentinal_list -> ('a -> 'b, 'c) sentinal_list
Source
val read_varint32 :
signed:bool ->
type_name:string ->
Protobuf__.Field.t ->
(int32, Result.error) result
Source
val default_of_field_type :
[< `Fixed_32_bit | `Fixed_64_bit | `Length_delimited | `Varint ] ->
Protobuf__.Field.t
Source
val read_fields_map :
(Map.key * (Protobuf__.Field.t -> (unit, Result.error) result)) list ->
Reader.t ->
(unit, Result.error) result
Read fields - map based for nlogn lookup
Source
val read_fields_array :
int ->
(int * (Protobuf__.Field.t -> (unit, Result.error) result)) list ->
Reader.t ->
(unit, Result.error) result
Read fields - array based for O(1) lookup
Source
val deserialize :
'constr 't. ('constr, 't) S.compound_list ->
'constr ->
Reader.t ->
't Result.t
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>