diff options
| author | Xusheng <xusheng@vector35.com> | 2022-04-26 12:18:43 +0800 |
|---|---|---|
| committer | Xusheng <xusheng@vector35.com> | 2022-04-26 12:18:43 +0800 |
| commit | 26ec1a9a51067631fa5bc11408e2af9eee10bf7e (patch) | |
| tree | 9bc938630bb6714573e56e186f6e83664e71e78c /python/binaryview.py | |
| parent | 6841afec59e8742473a6e408737c7265d0de309b (diff) | |
Fix BinaryWriter.endianness. Fix #3088.
Diffstat (limited to 'python/binaryview.py')
| -rw-r--r-- | python/binaryview.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/python/binaryview.py b/python/binaryview.py index 5b58fa1d..625a22a4 100644 --- a/python/binaryview.py +++ b/python/binaryview.py @@ -7935,7 +7935,7 @@ class BinaryWriter: :setter: sets the endianness of the reader (BigEndian or LittleEndian) :type: Endianness """ - return core.BNGetBinaryWriterEndianness(self._handle) + return Endianness(core.BNGetBinaryWriterEndianness(self._handle)) @endianness.setter def endianness(self, value: Endianness) -> None: |
