Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
struct
Orc::Proto::BinaryStatistics
Inherits
Protobuf::Message
<
Struct
<
Value
<
Object
Constants
FIELDS = {1 => {name: :sum, pb_type: :sint64, crystal_type:
Int64
, cast_type:
Int64
?, native: true, optional: true, repeated: false, default: nil, packed: false}} of
Int32
=>
HashLiteral
(
Symbol
,
ASTNode
)
Constructors
new
(buf :
Protobuf::Buffer
)
new
(sum :
Int64
|
Nil
= nil)
Class methods
from_protobuf
(io)
Instance methods
[]
(key :
String
)
sum
sum=
(sum :
Int64
|
Nil
)
to_protobuf
(io :
IO
, embedded = false)
to_protobuf