Methods Summary |
---|
public int | sizeOf(char[] array, int offset, int length)Get the size in bytes of an array of chars
return length;
|
public synchronized void | write(int c)Write a single character.
if (c > 255) {
c = '?"; // was --> throw new RuntimeException("Unknown character "+c);
}
out.write(c);
|
public synchronized void | write(char[] cbuf, int off, int len)Write a portion of an array of characters.
while (len-- > 0) {
write(cbuf[off++]);
}
|
public synchronized void | write(java.lang.String str, int off, int len)Write a portion of a string.
for (int i = 0 ; i < len ; i++) {
write(str.charAt(off + i));
}
|