Skip to main content

bytes_to_fields

Standalone Functions

bytes_to_fields

bytes_to_fields(bytes);

/ Note: N must be a multiple of 31 bytes

Parameters

NameType
bytes[u8; N]

bytes_from_fields

bytes_from_fields(fields, N>);

/ back together in the order of the original fields.

Parameters

NameType
fieldsBoundedVec<Field
N>

random_bytes_to_fields_and_back

random_bytes_to_fields_and_back(input);

Parameters

NameType
input[u8; 93]

bytes_to_fields_input_length_not_multiple_of_31

bytes_to_fields_input_length_not_multiple_of_31();

Takes no parameters.