out.write(0x80 & type);
out.write(0x80 | type);
    public void encode(        OutputStream    out)        throws IOException    {        int    bodyLen = data.length + 1;                if (bodyLen < 192)        {            out.write((byte)bodyLen);        }        else if (bodyLen <= 8383)        {            bodyLen -= 192;                        out.write((byte)(((bodyLen >> 8) & 0xff) + 192));            out.write((byte)bodyLen);        }        else        {            out.write(0xff);            out.write((byte)(bodyLen >> 24));            out.write((byte)(bodyLen >> 16));            out.write((byte)(bodyLen >> 8));            out.write((byte)bodyLen);        }                if (critical)        {            out.write(0x80 & type);        }        else        {            out.write(type);        }                out.write(data);    }