diff options
author | Luke <luke.wilde@live.co.uk> | 2021-07-21 01:05:19 +0100 |
---|---|---|
committer | Ali Mohammad Pur <Ali.mpfard@gmail.com> | 2021-07-24 20:11:28 +0430 |
commit | c63913b6334f84b6c3da65ce8760a9342163df9a (patch) | |
tree | 59ca5ff1536a017e66226c3683269e5b8c7144f0 /Userland/Libraries/LibIMAP/QuotedPrintable.h | |
parent | cc0914ae58e37542d9b37a762e5ec5e943e4d5b9 (diff) | |
download | serenity-c63913b6334f84b6c3da65ce8760a9342163df9a.zip |
LibIMAP: Add quoted printable decoder
This is a very common encoding for e-mail. Gmail seems to encode all
HTML e-mail in it.
imap qp clang
Diffstat (limited to 'Userland/Libraries/LibIMAP/QuotedPrintable.h')
-rw-r--r-- | Userland/Libraries/LibIMAP/QuotedPrintable.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Userland/Libraries/LibIMAP/QuotedPrintable.h b/Userland/Libraries/LibIMAP/QuotedPrintable.h new file mode 100644 index 0000000000..8b127b3783 --- /dev/null +++ b/Userland/Libraries/LibIMAP/QuotedPrintable.h @@ -0,0 +1,15 @@ +/* + * Copyright (c) 2021, Luke Wilde <lukew@serenityos.org> + * + * SPDX-License-Identifier: BSD-2-Clause + */ + +#pragma once + +#include <AK/ByteBuffer.h> + +namespace IMAP { + +ByteBuffer decode_quoted_printable(StringView const&); + +} |