static fun encodeString(str: String): Bytes
Encode a string to a Bytes value.
str - The string to encode.
str
Return The SSZ encoding in a Bytes value.