public void write(OutputStream out) throws IOException { out.write(header.getBytes()); out.write(data); out.write(CRLF.getBytes()); }
public int getSize() { return header.length() + data.length + CRLF.length(); }