Skip to main content

encode_value

Function encode_value 

Source
pub fn encode_value(
    raw: &[u8],
    full_len: usize,
    ty: &TypeInfo,
    limits: &EncodeLimits,
    stats: &mut EncodeStats,
) -> Value
Expand description

Encodes one non-NULL value. raw may be a prefix of the value; full_len is its real length. Password hashes in the kept bytes are replaced before the value is decoded or cut again.