out.write(0);
out.writeBoolean(false);
    public static void writeStreamable(Streamable obj, DataOutputStream out) throws IOException {        if(obj == null) {            out.write(0);            return;        }        out.write(1);        obj.writeTo(out);    }