byteSizeOf

Returns the number of Bytes required to encode a String using the given Encoding.

Return

the number of Bytes required to encode the String using the given Encoding.

Parameters

string

the String to encode.