Encodes the provided string into bytes using the provided encoding scheme.
The string to encode.
Optional
The encoding scheme. Defaults to utf-8.
Generated using TypeDoc
Encodes the provided string into bytes using the provided encoding scheme.