vibe.d beta banner
get vibe.d
0.7.30

Function decodeMessage

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

The result is returned as a UTF-8 string.

Prototype

string decodeMessage(
  const(ubyte[]) message_body,
  string content_transfer_encoding
);
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.