public class CustomInput extends FilterInputStream{ protected CustomInput(InputStream in) { super(in); } @Override public int read() throws IOException { int y=super.read(); if(y==65) { return 194; } else { return y; } } @Override public int read(byte[] b) throws IOException{ } }
read()
read(byte[] b)
super.read
public int read(byte[] b) throws IOException{ super.read(b); for (int i = 0; i < b.length; ++i){ if (b[i] = 'A'){ b[i] = 'Â'; } } }
return 0
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)