tuweni / org.apache.tuweni.ssz / SSZ / encodeString

encodeString

static fun encodeString(str: String!): Bytes! (source)

Encode a string to a Bytes value.

Parameters

str - String!: The string to encode.

Return
Bytes!: The SSZ encoding in a Bytes value.