FieldCompressedString
A Fixedsize Compressed String. Essentially a special version of Compressed String for practical use.
Fields
Field | Type |
---|---|
value | Field |
Methods
is_eq
FieldCompressedString::is_eq(self, other);
Parameters
Name | Type |
---|---|
self | |
other | FieldCompressedString |
from_field
FieldCompressedString::from_field(input_field);
Parameters
Name | Type |
---|---|
input_field | Field |
from_string
FieldCompressedString::from_string(input_string);
Parameters
Name | Type |
---|---|
input_string | str<31> |
to_bytes
FieldCompressedString::to_bytes(self);
Parameters
Name | Type |
---|---|
self |
Standalone Functions
serialize
serialize(self);
Parameters
Name | Type |
---|---|
self |
deserialize
deserialize(input);
Parameters
Name | Type |
---|---|
input | [Field; 1] |