[][src]Function artifact_serde::decode

pub fn decode(adc: &str) -> Result<DeserializedDeck, Error>

Takes in an Artifact Deck Code as a &str and returns a DeserializedDeck matching the structure refer to deck_decoder.php for reference implementation and expected structure here

Example

artifact_serde::decode("ADCJWkTZX05uwGDCRV4XQGy3QGLmqUBg4GQJgGLGgO7AaABR3JlZW4vQmxhY2sgRXhhbXBsZQ__");