Skip to content

okio / okio / ByteString / toAsciiUppercase

toAsciiUppercase

(js, jvm) fun toAsciiUppercase():ByteString(native) open fun toAsciiUppercase():ByteString

Returns a byte string equal to this byte string, but with the bytes ‘a’ through ‘z’ replaced with the corresponding byte in ‘A’ through ‘Z’. Returns this byte string if it contains no bytes in ‘a’ through ‘z’.