MCPcopy Create free account
hub / github.com/carbonengine/trinity / read

Method read

shadercompiler/python/shadercompiler/effectinfo.py:33–36  ·  view source on GitHub ↗
(self, fmt)

Source from the content-addressed store, hash-verified

31 self._offset = 0
32
33 def read(self, fmt):
34 result = struct.unpack_from(fmt, self._data, self._offset)
35 self._offset += struct.calcsize(fmt)
36 return result
37
38 def read_uint8(self):
39 return self.read('B')[0]

Callers 10

read_uint8Method · 0.95
read_uint16Method · 0.95
read_int32Method · 0.95
read_uint32Method · 0.95
read_floatMethod · 0.95
AppliesToFileMethod · 0.80
UpgradeFileMethod · 0.80
AppliesToFileMethod · 0.80
AppliesToFileMethod · 0.80
_loadMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected