Skip to main content

FieldCompressedString

A Fixedsize Compressed String. Essentially a special version of Compressed String for practical use.

Fields

FieldType
valueField

Methods

is_eq

FieldCompressedString::is_eq(self, other);

Parameters

NameType
self
otherFieldCompressedString

from_field

FieldCompressedString::from_field(input_field);

Parameters

NameType
input_fieldField

from_string

FieldCompressedString::from_string(input_string);

Parameters

NameType
input_stringstr<31>

to_bytes

FieldCompressedString::to_bytes(self);

Parameters

NameType
self

Standalone Functions

serialize

serialize(self);

Parameters

NameType
self

deserialize

deserialize(input);

Parameters

NameType
input[Field; 1]