def putFloat(self, value):
     """ Append a float to the buffer. """
     self.data.extend(Conversion.float_to_uint8_array(value))
示例#2
0
 def loadFloat(self, float):
     self.payload = Conversion.float_to_uint8_array(float)
     return self._process()