SizeAs(String, Encoding) | Calculates the amount of bytes occupied by the input string when being encoded as the target encoding |
SizeAs(String, Encoding, Encoding) | Calculates the amount of bytes occupied by the input string encoded as the encoding specified when being encoded as the target encoding |