Performs single-step buffer-to-buffer base64 encoding.
Byte string containing the encoded data.
To perform base64 encoding using this method, create a
ByteString containing the data you want to encode and pass
it as the method's argument. The returned ByteString
contains the encoded output.
This method makes it very simple to perform base64 encoding. The disadvantage of this method is that it requires all the data to be kept in memory for processing. You may use the low-level interface, described in the overview section, to perform base64 encoding of large data using limited memory.
This method uses the low-level interface internally. Any options set for the encoder object have the same effect using either this method or the low-level interface.
Base64Encoder Class | Hunny.Mime Namespace