mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-11 12:17:38 +02:00
Make the default python-type for Chars an int rather than a bytes.
This commit is contained in:
@@ -173,9 +173,9 @@ class Float(PrimitiveObject, float):
|
|||||||
_struct_type = float # type: ClassVar[Type]
|
_struct_type = float # type: ClassVar[Type]
|
||||||
|
|
||||||
|
|
||||||
class Char(PrimitiveObject, bytes):
|
class Char(PrimitiveObject, int):
|
||||||
"""Primitive Object that handles characters"""
|
"""Primitive Object that handles characters"""
|
||||||
_struct_type = bytes # type: ClassVar[Type]
|
_struct_type = int # type: ClassVar[Type]
|
||||||
|
|
||||||
|
|
||||||
class Bytes(PrimitiveObject, bytes):
|
class Bytes(PrimitiveObject, bytes):
|
||||||
|
|||||||
Reference in New Issue
Block a user