pub struct FlowData {
    pub unknown1: u32,
    pub unknown2: u16,
    /* private fields */
}
Expand description

Contain the data obtained from a binary flow file. It is hightly recommended to process it with [FlowDataOutput] if you plan to do high level modification on it.

The file contain a list of dictionaries, and a list of vectors, orderer.

Each entry of the dictionary/vector can be a string or a reference to another dic/vec

Dictionary are indixed by String, Vec by position.

Fields

unknown1: u32unknown2: u16

Implementations

A new dictionary to the FlowData

Add a new vector in the FlowData

return the number of dictionary

return the number of vector

return a reference to a dictionary if it exist, None otherwise

return a mutable reference to a dictionary if it exist, None otherwise

return a reference to a vector if it exist, None otherwise.

return a mutable reference to a vector if it exist, None otherwise.

decode a binary flow file

encode a binary flow file

note that entry are automatically deduplicated.

Trait Implementations

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.