DefaultEncoder
Overview
DefaultEncoder is used to write messages to a stream and to read messages from a stream.
Location
-
Reference:
- RemObjects.InternetPack.dll .NET, .NET Core 5.0, .NET Standard 2.0
- RemObjects.InternetPack.fx Island
- libRemObjects.InternetPack.fx Toffee
- Namespace: RemObjects.InternetPack.Messages
constructor .NET, .NET Core 5.0, .NET Standard 2.0, Island
constructor
DefaultEncoder()
init()
Sub New()
ContainsUnicodeSymbols virtual
class method ContainsUnicodeSymbols(value: String): Int32
static Int32 ContainsUnicodeSymbols(String value)
static func ContainsUnicodeSymbols(_ value: String) -> Int32
Shared Function ContainsUnicodeSymbols(value As String) As Int32
Parameters:
- value:
DecodeMessage
Reads a message from a specified stream.
method DecodeMessage(destination: MailMessage; source: Stream)
void DecodeMessage(MailMessage destination, Stream source)
func DecodeMessage(_ destination: MailMessage, _ source: Stream)
Sub DecodeMessage(destination As MailMessage, source As Stream)
Parameters:
- destination:
- source:
EncodeMessage
Writes a message to a specified stream.
method EncodeMessage(source: MailMessage; destination: Stream)
void EncodeMessage(MailMessage source, Stream destination)
func EncodeMessage(_ source: MailMessage, _ destination: Stream)
Sub EncodeMessage(source As MailMessage, destination As Stream)
Parameters:
- source:
- destination:
EncodeUtf8Base64 virtual
class method EncodeUtf8Base64(value: String): String
static String EncodeUtf8Base64(String value)
static func EncodeUtf8Base64(_ value: String) -> String
Shared Function EncodeUtf8Base64(value As String) As String
Parameters:
- value:
NeedEncoding virtual
class method NeedEncoding(message: MailMessage): Boolean
static Boolean NeedEncoding(MailMessage message)
static func NeedEncoding(_ message: MailMessage) -> Boolean
Shared Function NeedEncoding(message As MailMessage) As Boolean
Parameters:
- message:
ContainsUnicodeSymbols virtual
class method ContainsUnicodeSymbols(value: String): Int32
static Int32 ContainsUnicodeSymbols(String value)
static func ContainsUnicodeSymbols(_ value: String) -> Int32
Shared Function ContainsUnicodeSymbols(value As String) As Int32
Parameters:
- value:
EncodeUtf8Base64 virtual
class method EncodeUtf8Base64(value: String): String
static String EncodeUtf8Base64(String value)
static func EncodeUtf8Base64(_ value: String) -> String
Shared Function EncodeUtf8Base64(value As String) As String
Parameters:
- value:
NeedEncoding virtual
class method NeedEncoding(message: MailMessage): Boolean
static Boolean NeedEncoding(MailMessage message)
static func NeedEncoding(_ message: MailMessage) -> Boolean
Shared Function NeedEncoding(message As MailMessage) As Boolean
Parameters:
- message:
constructor .NET, .NET Core 5.0, .NET Standard 2.0, Island
constructor
DefaultEncoder()
init()
Sub New()
DecodeMessage
Reads a message from a specified stream.
method DecodeMessage(destination: MailMessage; source: Stream)
void DecodeMessage(MailMessage destination, Stream source)
func DecodeMessage(_ destination: MailMessage, _ source: Stream)
Sub DecodeMessage(destination As MailMessage, source As Stream)
Parameters:
- destination:
- source:
EncodeMessage
Writes a message to a specified stream.
method EncodeMessage(source: MailMessage; destination: Stream)
void EncodeMessage(MailMessage source, Stream destination)
func EncodeMessage(_ source: MailMessage, _ destination: Stream)
Sub EncodeMessage(source As MailMessage, destination As Stream)
Parameters:
- source:
- destination:
- MessageEncoder Class
- MailMessage Class