storageSize (schema -- size)

Inputs

Outputs

Ref inputs are followed before the query. Current value contents, current value state, and current view qualifiers do not participate.

Behavior

Example

{} 0 {} [
  value: 0n8 dynamic;
  pair: { left: 0n8; right: 0n8; };

  "-- same schema, same result --" printCompilerMessage
  0n8 storageSize printStack _:;
  value storageSize printStack _:;
  @value storageSize printStack _:;

  "-- size versus alignment --" printCompilerMessage
  pair storageSize printStack _:;
  pair alignment printStack _:;

  0
] "main" exportFunction

Expected Output During Compilation

-- same schema, same result --
1nx
1nx
1nx
-- size versus alignment --
2nx
1nx

See also