getByteSize

Gets the number of bytes in UTF-8 encoding.