MCPcopy Create free account
hub / github.com/chronoxor/FastBinaryEncoding / __init__

Method __init__

projects/Python/proto/proto.py:1213–1216  ·  view source on GitHub ↗
(self, buffer, offset)

Source from the content-addressed store, hash-verified

1211 __slots__ = "_currency", "_amount",
1212
1213 def __init__(self, buffer, offset):
1214 super().__init__(buffer, offset)
1215 self._currency = fbe.FieldModelString(buffer, 4 + 4)
1216 self._amount = fbe.FieldModelDouble(buffer, self._currency.fbe_offset + self._currency.fbe_size)
1217
1218 @property
1219 def currency(self):

Callers

nothing calls this directly

Calls 3

__init__Method · 0.45
FieldModelStringMethod · 0.45
FieldModelDoubleMethod · 0.45

Tested by

no test coverage detected