toggle menu
korge-root
5.1.0
common
switch theme
search in API
korge-core
/
korlibs.io.lang
/
WStringReader
WString
Reader
class
WStringReader
(
val
str
:
WString
,
var
position
:
Int
=
0
)
Members
Members & Extensions
Constructors
WString
Reader
Link copied to clipboard
constructor
(
str
:
String
,
position
:
Int
=
0
)
constructor
(
str
:
WString
,
position
:
Int
=
0
)
Properties
available
Link copied to clipboard
val
available
:
Int
eof
Link copied to clipboard
val
eof
:
Boolean
has
More
Link copied to clipboard
val
hasMore
:
Boolean
length
Link copied to clipboard
val
length
:
Int
position
Link copied to clipboard
var
position
:
Int
str
Link copied to clipboard
val
str
:
WString
Functions
keep
Link copied to clipboard
inline
fun
<
T
>
WStringReader
?
.
keep
(
block
:
(
)
->
T
)
:
T
peek
Link copied to clipboard
fun
peek
(
offset
:
Int
=
0
)
:
WChar
read
Link copied to clipboard
fun
read
(
)
:
WChar
skip
Link copied to clipboard
fun
skip
(
count
:
Int
)
substr
Link copied to clipboard
fun
substr
(
offset
:
Int
,
len
:
Int
=
str.length
)
:
WString