public class ReaderUTF16 extends Reader
| Constructor and Description |
|---|
ReaderUTF16(InputStream is,
char bo)
Constructor.
|
public ReaderUTF16(InputStream is, char bo)
is - A byte input stream.bo - A byte order in the input stream.public int read(char[] cbuf,
int off,
int len)
throws IOException
read in class Readercbuf - Destination buffer.off - Offset at which to start storing characters.len - Maximum number of characters to read.IOException - If any IO errors occur.public int read()
throws IOException
read in class ReaderIOException - If any IO errors occur.public void close()
throws IOException
close in interface Closeableclose in interface AutoCloseableclose in class ReaderIOException - If any IO errors occur.Copyright © 2012 code4tv.com. All Rights Reserved.