123456789101112131415161718192021module juptune.data.base;
enum Base64Error : int
{
///
none = 0,
/// Produced when padding is detected during decoding, but not enough padding is present.
invalidPadding = 1,
/// Produced when too much padding is found during decoding.
tooMuchPadding = 2,
/// A message was succesfully decoded, however there was still input left over.
tooMuchInput = 3,
/// Produced when finish is called during decoding; there's data left over in the decode buffer, and the provided Alphabet either doesn't allow padding, or has padding that is not optional.
notEnoughInput = 4,
/// Produced when a character is found that is not part of the alphabet during decoding.
invalidCharacter = 5,
/// Produced when a line break is found that is not valid/incomplete during decoding.
invalidNewLine = 6,
/// Produced when the decoder is done and the decode function is called again before a call to finish .
decoderIsDone = 7
}
A Resulterror enum.