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

Instance Method Summary

Macro 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

Constructor Detail

def self.new(form : Decimal) #

[View source]

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.


[View source]

Instance Method Detail

def __format__ : IO::ByteFormat #

[View source]
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) #

[View source]

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.


[View source]
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.


[View source]
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.


[View source]
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.


[View source]
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.


[View source]
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.


[View source]