pub struct Melter { /* private fields */ }
Expand description

Convert a binary gamestate to plaintext

Accepted inputs:

  • autosave save
  • ironman save
  • binary data

Implementations

Create a customized version to melt binary data

Set the memory allocation extraction behavior for when a zip is encountered

Set the behavior for when an unresolved binary token is encountered

Set if the melter should rewrite properties to better match the plaintext format

Setting to false will preserve binary fields and values even if they don’t make any sense in the plaintext output.

Given one of the accepted inputs, this will return the save id line (if present in the input) with the gamestate data decoded from binary to plain text.

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.