compressed_string
Standalone Functions
from_string
from_string(input_string);
Parameters
Name | Type |
---|---|
input_string | str<M> |
to_bytes
to_bytes(self);
Parameters
Name | Type |
---|---|
self |
eq
eq(self, other, M>);
Parameters
Name | Type |
---|---|
self | |
other | CompressedString<N |
M> |
serialize
serialize(self);
Parameters
Name | Type |
---|---|
self |
deserialize
deserialize(input);
Parameters
Name | Type |
---|---|
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.