Package totalcross.io
Class CharStream
- java.lang.Object
-
- totalcross.io.CharStream
-
public class CharStream extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description CharStream(java.lang.String s)CharStream(Stream ds)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intread(char[] cbuf)intread(char[] cbuf, int ofs, int len)intwrite(char c)intwrite(char[] cbuf)intwrite(char[] cbuf, int ofs, int len)
-
-
-
Constructor Detail
-
CharStream
public CharStream(java.lang.String s)
-
CharStream
public CharStream(Stream ds)
-
-
Method Detail
-
read
public int read(char[] cbuf) throws IOException- Throws:
IOException
-
read
public int read(char[] cbuf, int ofs, int len) throws IOException- Throws:
IOException
-
write
public int write(char c) throws IOException- Throws:
IOException
-
write
public int write(char[] cbuf) throws IOException- Throws:
IOException
-
write
public int write(char[] cbuf, int ofs, int len) throws IOException- Throws:
IOException
-
-