MCPcopy Create free account
hub / github.com/e2wugui/zeze / read_float

Method read_float

python/zeze/buffer.py:801–805  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

799 struct.pack_into("<f", self.buf, wi, v)
800
801 def read_float(self):
802 self.ensure_read(4)
803 ri = self.ri
804 self.ri = ri + 4
805 return struct.unpack_from("<f", self.buf, ri)[0]
806
807 def write_double(self, v):
808 self.ensure_write(8)

Callers 11

read_bool_tagMethod · 0.95
read_long_tagMethod · 0.95
read_float_tagMethod · 0.95
read_double_tagMethod · 0.95
read_vector2_tagMethod · 0.95
read_vector3_tagMethod · 0.95
read_vector4_tagMethod · 0.95
read_quaternion_tagMethod · 0.95
read_vector2int_tagMethod · 0.95
read_vector3int_tagMethod · 0.95
test_basicMethod · 0.95

Calls 1

ensure_readMethod · 0.95

Tested by 1

test_basicMethod · 0.76