struct Murcure::Protos::CodecVersion
- Murcure::Protos::CodecVersion
- Struct
- Value
- Object
Included Modules
- Protobuf::Message
Defined in:
murcure/utils/protos.crConstant Summary
-
FIELDS =
{1 => {name: :alpha, pb_type: :int32, crystal_type: Int32, cast_type: Int32, native: true, optional: false, repeated: false, default: nil, packed: false}, 2 => {name: :beta, pb_type: :int32, crystal_type: Int32, cast_type: Int32, native: true, optional: false, repeated: false, default: nil, packed: false}, 3 => {name: :prefer_alpha, pb_type: :bool, crystal_type: Bool, cast_type: Bool, native: true, optional: false, repeated: false, default: true, packed: false}, 4 => {name: :opus, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: false, packed: false}} of Int32 => HashLiteral(Symbol, ASTNode)
Constructors
- .new(alpha : Int32, beta : Int32, prefer_alpha : Bool, opus : Bool | Nil = false.as(Bool))
- .new(buf : Protobuf::Buffer)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #alpha : Int32
- #alpha=(alpha : Int32)
- #beta : Int32
- #beta=(beta : Int32)
- #opus : Bool | Nil
- #opus=(opus : Bool | Nil)
- #prefer_alpha : Bool
- #prefer_alpha=(prefer_alpha : Bool)
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
Constructor Detail
def self.new(alpha : Int32, beta : Int32, prefer_alpha : Bool, opus : Bool | Nil = false.as(Bool))
#