class Matter::Codec::DERCodec::ContextTagged

Included Modules

Defined in:

matter/codec/der_codec.cr

Constructors

Instance Method Summary

Instance methods inherited from module Matter::Codec::DERCodec::Base

decode(data : Slice(UInt8)) : Node decode, encode(value : Value) : Slice(UInt8) encode, encode_length_bytes(value, byte_format : IO::ByteFormat = IO::ByteFormat::BigEndian) encode_length_bytes, encode_object_identifier(oid : String | Array(UInt32)) : Slice(UInt8) encode_object_identifier, encode_octet_string(data : Bytes) : Bytes encode_octet_string, encode_oid(oid : String | Array(UInt32)) : Slice(UInt8) encode_oid, encode_sequence(data : Bytes) : Bytes encode_sequence, encode_unsigned_int(value : UInt8 | UInt16 | UInt32, byte_format : IO::ByteFormat = IO::ByteFormat::BigEndian) encode_unsigned_int, parse_oid(oid : String) : Array(UInt32) parse_oid

Constructor Detail

def self.new(tag_id : UInt8, sub : Value | Nil = nil) #

[View source]

Instance Method Detail

def value : Hash(String, Value) #

[View source]