Message.encode

Encodes this Message into a CRLF delimited byte array

If ChecksMode is set to EASY (default) then any invalid characters will be stripped prior to encoding

class Message
string
encode

Parameters

mode ChecksMode

the ChecksMode to use

Return Value

Type: string

the encoded format

Throws

BirchwoodException if ChecksMode is set to HARDCORE and invalid characters are present

Meta