struct CBOR::Token::BytesT

Defined in:

cbor/token.cr

Constructors

Instance Method Summary

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

Constructor Detail

def self.new(value : Bytes, chunks : Array(Int32) | Nil = nil) #

[View source]

Instance Method Detail

def chunks : Array(Int32) | Nil #

def clone #

[View source]
def copy_with(value _value = @value, chunks _chunks = @chunks) #

[View source]
def value : Bytes #