mirror of
https://github.com/apple/swift-nio-imap
synced 2026-11-27 05:04:23 +00:00
* Document AppendData * Document AppendMessage * Document AppendOptions * Document BodyStructure.Disposition * Document BodyStructure.DispositionAndLanguage * Document BodyStructure.Encoding * Document BodyStructure helper typoes/conformances * Document BodyStructure.Singlepart * Document BodyStructure.Singlepart.Kind * Document BodyStructure.Singlepart.Message * Document BodyStructure.Singlepart.Text * Document BodyStructure.Singlepart.Extension * Document Command * Document TaggedCommand * Make base64 non-public * Fix sanity * Remove doc tracking * Apply suggestions from code review Co-authored-by: George Barnett <gbarnett@apple.com> Co-authored-by: George Barnett <gbarnett@apple.com>
12 lines
286 B
Swift
12 lines
286 B
Swift
// Courtesy of @fabianfett
|
|
// https://github.com/fabianfett/swift-base64-kit
|
|
|
|
// minor modifications to remove public attributes
|
|
|
|
enum DecodingError: Error, Equatable {
|
|
case invalidLength
|
|
case invalidCharacter(UInt8)
|
|
case unexpectedPaddingCharacter
|
|
case unexpectedEnd
|
|
}
|