class Novika::LargeDecimalSnapshot

Overview

Snapshot of a decimal form, which is too large to fit into an i64.

Its type is SnapshotType::LargeDecimal.

Defined in:

novika/image.cr

Constant Summary

ENDIAN = ["big"]

Snapshot of a decimal form, which is too large to fit into an i64.

Its type is SnapshotType::LargeDecimal.

KLASS_NAME = [Novika::LargeDecimalSnapshot]

Snapshot of a decimal form, which is too large to fit into an i64.

Its type is SnapshotType::LargeDecimal.

PARTS = [{type: "string", name: repr, cls: String, onlyif: nil, verify: nil, length: nil, value: nil, encoding: nil}] of Nil

Snapshot of a decimal form, which is too large to fit into an i64.

Its type is SnapshotType::LargeDecimal.

REMAINING = [] of Nil

Snapshot of a decimal form, which is too large to fit into an i64.

Its type is SnapshotType::LargeDecimal.

Constructors

Class Method Summary

Macro Summary

Instance Method Summary

Instance methods inherited from class Novika::Snapshot

to_form(assembler : BlockAssembler) to_form

Class methods inherited from class Novika::Snapshot

bit_fields bit_fields

Macros inherited from class Novika::Snapshot

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

Constructor Detail

def self.new(form : Decimal) #

Class Method Detail

def self.bit_fields #

Snapshot of a decimal form, which is too large to fit into an i64.

Its type is SnapshotType::LargeDecimal.


Macro Detail

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

Snapshot of a decimal form, which is too large to fit into an i64.

Its type is SnapshotType::LargeDecimal.


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

Snapshot of a decimal form, which is too large to fit into an i64.

Its type is SnapshotType::LargeDecimal.


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

Snapshot of a decimal form, which is too large to fit into an i64.

Its type is SnapshotType::LargeDecimal.


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

Snapshot of a decimal form, which is too large to fit into an i64.

Its type is SnapshotType::LargeDecimal.


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

Snapshot of a decimal form, which is too large to fit into an i64.

Its type is SnapshotType::LargeDecimal.


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

Snapshot of a decimal form, which is too large to fit into an i64.

Its type is SnapshotType::LargeDecimal.


Instance Method Detail

def __format__ : IO::ByteFormat #

def repr : String #

Holds the string representation of the decimal value.


def repr=(repr : String) #

Holds the string representation of the decimal value.


def to_form(assembler) #