RpcOutputStream extends FileOutputStream { private int readUByte(InputStream in) throws IOException { int b = in.read(); if (b == -1) { throw new EOFException(); } if (b < -1 || b > 255) { throw new IOException(".read() returned value out of range -1..255: " + b); } return b; } RpcOutputStream(RpcPerforceFile file, RpcConnection rpcConnection, boolean useLocalDigester); private  RpcOutputStream(RpcPerforceFile file, P4Charset p4Charset, boolean isUnicodeServer, boolean useLocalDigester, int filesys_utf8bom); static RpcOutputStream getTmpOutputStream(RpcPerforceFile file); @Override void close(); long write(Map<String, Object> map); @Override void write(byte[] sourceBytes, int off, int len); @Override void write(byte[] b); long writeConverted(byte[] sourceBytes); @Override void write(int b); RpcPerforceFile getFile(); String getServerDigest(); void setServerDigest(String serverDigest); MD5Digester getLocalDigester(); void setLocalDigester(MD5Digester localDigester);  }
@Test public void testReadUByte() throws Exception { }