Skip to main content

compressed_string

Standalone Functions

from_string

from_string(input_string);

Parameters

NameType
input_stringstr<M>

to_bytes

to_bytes(self);

Parameters

NameType
self

eq

eq(self, other, M>);

Parameters

NameType
self
otherCompressedString<N
M>

serialize

serialize(self);

Parameters

NameType
self

deserialize

deserialize(input);

Parameters

NameType
input[Field; N]

test_short_string

test_short_string();

Takes no parameters.

test_long_string

test_long_string();

Takes no parameters.

test_long_string_work_with_too_many_fields

test_long_string_work_with_too_many_fields();

Takes no parameters.

test_serde

test_serde();

Takes no parameters.

test_long_string_fail_with_too_few_fields

test_long_string_fail_with_too_few_fields();

Takes no parameters.