struct ProtoBuf::Any
- ProtoBuf::Any
- Struct
- Value
- Object
Defined in:
protodec.crConstant Summary
-
TAG_MAP =
{"varint" => 0, "float32" => 5, "int32" => 5, "float64" => 1, "int64" => 1, "string" => 2, "embedded" => 2, "base64" => 2, "bytes" => 2}
Constructors
Class Method Summary
- .from_io(io : IO, format = IO::ByteFormat::NetworkEndian, ignore_exceptions = false)
- .from_json(json : JSON::Any, io : IO, format = IO::ByteFormat::NetworkEndian)
- .parse(io : IO)