append

JVM
1.9
fun StringBuilder.append(value: Byte): StringBuilder
(source)

Appends the string representation of the specified byte value to this string builder and returns this instance.

The overall effect is exactly as if the value were converted to a string by the value.toString() method, and then that string was appended to this string builder.

JVM
1.9
fun StringBuilder.append(value: Short): StringBuilder
(source)

Appends the string representation of the specified short value to this string builder and returns this instance.

The overall effect is exactly as if the value were converted to a string by the value.toString() method, and then that string was appended to this string builder.