You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, there's no way to read a code point from a source containing UTF-8 encoded data or write a single code point to sink encoding it to UTF-8 along the way.
Corresponding functions exist but are hidden: #136 (comment)
It's time to make them public under the following names:
Sink.writeCodePointValue(value: Int)
Source.readCodePointValue(): Int
There is no Utf8 in the names for consistency with readString/writeString, but there is a Value suffix.
At some point, CodePoint type will be added to Kotlin Stdlib, so it'll be nice to preserve readCointPoint/writeCodePoint names for it. However, such a type most likely will have a value: Int property and the names mentioned above are referring to that property.
The text was updated successfully, but these errors were encountered:
Currently, there's no way to read a code point from a source containing UTF-8 encoded data or write a single code point to sink encoding it to UTF-8 along the way.
Corresponding functions exist but are hidden: #136 (comment)
It's time to make them public under the following names:
Sink.writeCodePointValue(value: Int)
Source.readCodePointValue(): Int
There is no
Utf8
in the names for consistency withreadString
/writeString
, but there is aValue
suffix.At some point,
CodePoint
type will be added to Kotlin Stdlib, so it'll be nice to preservereadCointPoint
/writeCodePoint
names for it. However, such a type most likely will have avalue: Int
property and the names mentioned above are referring to that property.The text was updated successfully, but these errors were encountered: