public String getString(int start, int end, boolean nulled)
    {
        String thestring = this.packet.substring(start, end);
        this.packet = this.packet.substring(end);
        if(nulled)
            return thestring;
        else
            return removenullbyte(thestring);

    }