public void writeBytes(int stream, byte[] b, int offset, int len) {final int end = offset + len;for(int i=offset;i<end;i++)writeByte(stream, b[i]);}
public void WriteBytes(int stream, byte[] b, int offset, int len){int end = offset + len;for (int i = offset; i < end; i++){WriteByte(stream, b[i]);}}