Object -
io :
StringReader
Represents a reader which will wrap string content as a channel.
Constructor
__init
(string content, string encoding)
- content string
-
content which should be written
- encoding string UTF-8
-
encoding of the characters of the content
Methods
Reads string as json from reader.
Reads string as XML from reader
Reads characters from the given string.
Parameters
- nCharacters int
-
read specific number of characters