Beispiel #1
0
 def getLLong(self):
     return Binary.readLLong(self.get(8))
Beispiel #2
0
 def putLLong(self, v):
     self.buffer += Binary.writeLLong(v)
Beispiel #3
0
 def getVarLong(self):
     return Binary.readVarLong(self.buffer, self.offset)
Beispiel #4
0
 def putVarLong(self, v):
     self.put(Binary.writeVarLong(v))
Beispiel #5
0
 def getSignedLShort(self):
     return Binary.readSignedLShort(self.get(4))
Beispiel #6
0
 def putUnsignedVarLong(self, v):
     self.put(Binary.writeUnsignedVarLong(v))
Beispiel #7
0
 def putUnsignedVarInt(self, v):
     self.put(Binary.writeUnsignedVarInt(v))
Beispiel #8
0
 def putShort(self, v):
     self.buffer += Binary.writeShort(v)
Beispiel #9
0
 def getLTriad(self):
     return Binary.readLTriad(self.get(3))
Beispiel #10
0
 def putLTriad(self, v):
     self.buffer += Binary.writeLTriad(v)
Beispiel #11
0
 def getRoundedLFloat(self, accuracy):
     return Binary.readRoundedLFloat(self.get(4), accuracy)
Beispiel #12
0
 def putLFloat(self, v):
     self.buffer += Binary.writeLFloat(v)
Beispiel #13
0
 def getLFloat(self):
     return Binary.readLFloat(self.get(4))
Beispiel #14
0
 def getLInt(self):
     return Binary.readLInt(self.get(4))
Beispiel #15
0
 def putVarInt(self, v):
     self.put(Binary.writeVarInt(v))
Beispiel #16
0
 def putLInt(self, v):
     self.buffer += Binary.writeLInt(v)
Beispiel #17
0
 def getUnsignedVarLong(self):
     return Binary.readUnsignedVarLong(self.buffer, self.offset)
Beispiel #18
0
 def getLShort(self):
     return Binary.readLShort(self.get(2))
Beispiel #19
0
 def getSignedShort(self):
     return Binary.readSignedShort(self.get(2))