stringLength

open fun stringLength(@NotNull s: @NotNull String): Int

Calculates the size in bytes of a CBOR encoded string.