def startLongArray(self, length): print("{}TAG_Long_Array{}: [{:d} long{}]".format( self._is, _tns(self._n), length, "s" if length != 1 else ""))
def startCompound(self): print("{}TAG_Compound{}: {{".format(self._is, _tns(self._n))) self.setIndent(self._i + 1)
def startIntArray(self, length): print("{}TAG_Int_Array{}: [{:d} int{}]".format( self._is, _tns(self._n), length, "s" if length != 1 else ""))
def string(self, value): print("{}TAG_String{}: {:s}".format(self._is, _tns(self._n), value))
def startList(self, tagType, length): print("{}TAG_List{}: {} [".format(self._is, _tns(self._n), _tls(length, tagType))) self._n = None self.setIndent(self._i + 1)
def double(self, value): print("{}TAG_Double{}: {:g}".format(self._is, _tns(self._n), value))
def startByteArray(self, length): print("{}TAG_Byte_Array{}: [{:d} byte{}]".format( self._is, _tns(self._n), length, "s" if length != 1 else ""))
def float(self, value): print("{}TAG_Float{}: {:g}".format(self._is, _tns(self._n), value))
def long(self, value): print("{}TAG_Long{}: {:d}".format(self._is, _tns(self._n), value))
def int(self, value): print("{}TAG_Int{}: {:d}".format(self._is, _tns(self._n), value))
def short(self, value): print("{}TAG_Short{}: {:d}".format(self._is, _tns(self._n), value))
def byte(self, value): print("{}TAG_Byte{}: {:d}".format(self._is, _tns(self._n), value))