Message Object : DecodeBuf Method |
Visual Basic |
---|
Public Sub DecodeBuf( _ ByVal SourceBuf As Variant, _ ByRef DestBuf As Variant, _ ByVal CodingType As CodingConstants _ ) |
Value | Description |
---|---|
msgBase64 | Base 64 |
msgBinHex40 | BinHex 4.0 |
msgEucJp | EucJp |
msgIso2022Jp | Iso-2022Jp |
msgQuotedPrintable | Quoted Printable |
msgShiftJis | ShiftJis |
msgUTF7 | UTF 7 |
msgUTF8 | UTF 8 |
msgUUEncode | UUENCODE |
This function supports isolated decoding requirements such as header field interpretation. DecodeBuf does not affect the Message.
If DestBuf specifies a dimensioned Byte array or a non-empty String, it is redimensioned and filled with decoded data that may contain embedded nulls. If DestBuf specifies an undimensioned Byte array or empty String, it is dynamically expanded and filled. DestBuf must not be a fixed length String (String*100 will not work).
This method may generate the following error code (refer to MailErrorConstants for a complete list of error codes):