base64::engine::general_purpose

Module decode

Source

Functions§

  • Returns the length of complete quads, except for the last one, even if it is complete.
  • Like decode_chunk_8 but for 4 bytes of input and 3 bytes of output.
  • Decode 8 bytes of input into 6 bytes of output.
  • Helper to avoid duplicating num_chunks calculation, which is costly on short inputs. Returns the decode metadata, or an error.