Lines Matching refs:outStream
141 public void encode(InputStream inStream, OutputStream outStream)
147 encodeBufferPrefix(outStream);
154 encodeLinePrefix(outStream, numBytes);
158 encodeAtom(outStream, tmpbuffer, j, bytesPerAtom());
160 encodeAtom(outStream, tmpbuffer, j, (numBytes)- j);
166 encodeLineSuffix(outStream);
169 encodeBufferSuffix(outStream);
187 ByteArrayOutputStream outStream = new ByteArrayOutputStream();
191 encode(inStream, outStream);
193 retVal = outStream.toString("8859_1");
276 public void encodeBuffer(InputStream inStream, OutputStream outStream)
282 encodeBufferPrefix(outStream);
289 encodeLinePrefix(outStream, numBytes);
292 encodeAtom(outStream, tmpbuffer, j, bytesPerAtom());
294 encodeAtom(outStream, tmpbuffer, j, (numBytes)- j);
297 encodeLineSuffix(outStream);
302 encodeBufferSuffix(outStream);
320 ByteArrayOutputStream outStream = new ByteArrayOutputStream();
323 encodeBuffer(inStream, outStream);
328 return (outStream.toString());