class Novika::FrozenBlock::Tape

Overview

Holds information about the block's tape, in case it has non-empty tape.

Defined in:

novika/image.cr

Constant Summary

ENDIAN = ["big"]

Holds information about the block's tape, in case it has non-empty tape.

KLASS_NAME = [Novika::FrozenBlock::Tape]

Holds information about the block's tape, in case it has non-empty tape.

PARTS = [{type: "basic", name: cursor, cls: UInt32, onlyif: nil, verify: nil, value: nil}, {type: "basic", name: count, cls: UInt64, onlyif: nil, verify: nil, value: -> do substrate.size end}, {type: "array", name: substrate, cls: TypedSnapshot, onlyif: nil, verify: nil, length: -> do count end, value: nil}] of Nil

Holds information about the block's tape, in case it has non-empty tape.

REMAINING = [] of Nil

Holds information about the block's tape, in case it has non-empty tape.

Class Method Summary

Instance Method Summary

Macro Summary

Class Method Detail

def self.bit_fields #

Holds information about the block's tape, in case it has non-empty tape.


Instance Method Detail

def __format__ : IO::ByteFormat #

def count : UInt64 #

Holds the amount of items in tape's substrate.


def count=(count : UInt64) #

Holds the amount of items in tape's substrate.


def cursor : UInt32 #

Holds the cursor position.


def cursor=(cursor : UInt32) #

Holds the cursor position.


def parent #

Group fields might need access to data in the parent


[View source]
def parent=(parent : Novika::FrozenBlock | Nil) #

Group fields might need access to data in the parent


def substrate : Array(TypedSnapshot) #

Holds tape substrate.


def substrate=(substrate : Array(TypedSnapshot)) #

Holds tape substrate.


Macro Detail

macro novika_block_ref_snapshot(name, onlyif = nil, verify = nil, value = nil) #

Holds information about the block's tape, in case it has non-empty tape.


macro novika_boolean_snapshot(name, onlyif = nil, verify = nil, value = nil) #

Holds information about the block's tape, in case it has non-empty tape.


macro novika_builtin_snapshot(name, onlyif = nil, verify = nil, value = nil) #

Holds information about the block's tape, in case it has non-empty tape.


macro novika_byteslice_snapshot(name, onlyif = nil, verify = nil, value = nil) #

Holds information about the block's tape, in case it has non-empty tape.


macro novika_color_snapshot(name, onlyif = nil, verify = nil, value = nil) #

Holds information about the block's tape, in case it has non-empty tape.


macro novika_frozen_block(name, onlyif = nil, verify = nil, value = nil) #

Holds information about the block's tape, in case it has non-empty tape.


macro novika_frozen_block_tape(name, onlyif = nil, verify = nil, value = nil) #

Holds information about the block's tape, in case it has non-empty tape.


macro novika_frozen_entry(name, onlyif = nil, verify = nil, value = nil) #

Holds information about the block's tape, in case it has non-empty tape.


macro novika_large_decimal_snapshot(name, onlyif = nil, verify = nil, value = nil) #

Holds information about the block's tape, in case it has non-empty tape.


macro novika_quote_snapshot(name, onlyif = nil, verify = nil, value = nil) #

Holds information about the block's tape, in case it has non-empty tape.


macro novika_quoted_word_snapshot(name, onlyif = nil, verify = nil, value = nil) #

Holds information about the block's tape, in case it has non-empty tape.


macro novika_small_decimal_snapshot(name, onlyif = nil, verify = nil, value = nil) #

Holds information about the block's tape, in case it has non-empty tape.


macro novika_snapshot(name, onlyif = nil, verify = nil, value = nil) #

Holds information about the block's tape, in case it has non-empty tape.


macro novika_typed_snapshot(name, onlyif = nil, verify = nil, value = nil) #

Holds information about the block's tape, in case it has non-empty tape.


macro novika_word_snapshot(name, onlyif = nil, verify = nil, value = nil) #

Holds information about the block's tape, in case it has non-empty tape.