enum CBOR::SimpleValue

Defined in:

cbor/simple_value.cr

Enum Members

False = 20_u8
True = 21_u8
Null = 22_u8
Undefined = 23_u8

Instance Method Summary

Instance methods inherited from struct Enum

to_cbor(encoder : CBOR::Encoder) to_cbor

Constructor methods inherited from struct Enum

new(decoder : CBOR::Decoder) new

Instance methods inherited from class Object

to_cbor(io : IO)
to_cbor(encoder : CBOR::Encoder)
to_cbor : Bytes
to_cbor

Class methods inherited from class Object

from_cbor(string_or_io) from_cbor

Instance Method Detail

def false? #

[View source]
def is_nil? : Bool #

[View source]
def null? #

[View source]
def to_diagnostic : String #

[View source]
def to_t : Bool | Nil #

[View source]
def true? #

[View source]
def undefined? #

[View source]