vibe.d beta banner
get vibe.d
0.7.31

Function decodeMessage

Decodes a message body according to the specified content transfer encoding ("Content-Transfer-Encoding" header).

string decodeMessage (
  const(ubyte[]) message_body,
  string content_transfer_encoding
);

The result is returned as a UTF-8 string.

Authors

Sönke Ludwig

Copyright

© 2012-2014 RejectedSoftware e.K.

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.