abstract class Novika::Snapshot
- Novika::Snapshot
- BinData
- Reference
- Object
Overview
Base class for snapshots.
Snapshots are blobs of binary data corresponding to a
Novika value form. Since Block
s are not value
forms, they are stored in BlockPool
and pointed to by
"imaginary" (or "transitory") forms that go by the name
of block references.
All snapshots are big-endian-ordered.
Direct Known Subclasses
- Novika::BlockRefSnapshot
- Novika::BooleanSnapshot
- Novika::BuiltinSnapshot
- Novika::BytesliceSnapshot
- Novika::ColorSnapshot
- Novika::LargeDecimalSnapshot
- Novika::QuotedWordSnapshot
- Novika::QuoteSnapshot
- Novika::SmallDecimalSnapshot
- Novika::WordSnapshot
Defined in:
novika/image.crConstant Summary
-
ENDIAN =
["system"]
-
Base class for snapshots.
Snapshots are blobs of binary data corresponding to a Novika value form. Since
Block
s are not value forms, they are stored inBlockPool
and pointed to by "imaginary" (or "transitory") forms that go by the name of block references.All snapshots are big-endian-ordered.
-
KLASS_NAME =
[Novika::Snapshot]
-
Base class for snapshots.
Snapshots are blobs of binary data corresponding to a Novika value form. Since
Block
s are not value forms, they are stored inBlockPool
and pointed to by "imaginary" (or "transitory") forms that go by the name of block references.All snapshots are big-endian-ordered.
-
PARTS =
[] of Nil
-
Base class for snapshots.
Snapshots are blobs of binary data corresponding to a Novika value form. Since
Block
s are not value forms, they are stored inBlockPool
and pointed to by "imaginary" (or "transitory") forms that go by the name of block references.All snapshots are big-endian-ordered.
-
REMAINING =
[] of Nil
-
Base class for snapshots.
Snapshots are blobs of binary data corresponding to a Novika value form. Since
Block
s are not value forms, they are stored inBlockPool
and pointed to by "imaginary" (or "transitory") forms that go by the name of block references.All snapshots are big-endian-ordered.
Class Method Summary
-
.bit_fields
Base class for snapshots.
Macro Summary
-
novika_snapshot(name, onlyif = nil, verify = nil, value = nil)
Base class for snapshots.
Instance Method Summary
-
#to_form(assembler : BlockAssembler)
Converts this snapshot to the corresponding form.
Class Method Detail
Base class for snapshots.
Snapshots are blobs of binary data corresponding to a
Novika value form. Since Block
s are not value
forms, they are stored in BlockPool
and pointed to by
"imaginary" (or "transitory") forms that go by the name
of block references.
All snapshots are big-endian-ordered.
Macro Detail
Base class for snapshots.
Snapshots are blobs of binary data corresponding to a
Novika value form. Since Block
s are not value
forms, they are stored in BlockPool
and pointed to by
"imaginary" (or "transitory") forms that go by the name
of block references.
All snapshots are big-endian-ordered.
Instance Method Detail
Converts this snapshot to the corresponding form.