MCPcopy Index your code
hub / github.com/python/cpython / bigendian_to_native

Function bigendian_to_native

Lib/test/test_struct.py:35–39  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

33 return s[::-1]
34
35def bigendian_to_native(value):
36 if ISBIGENDIAN:
37 return value
38 else:
39 return string_reverse(value)
40
41class StructTest(ComplexesAreIdenticalMixin, unittest.TestCase):
42 def test_isbigendian(self):

Callers

nothing calls this directly

Calls 1

string_reverseFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…