mirror of
https://github.com/volatilityfoundation/volatility3.git
synced 2026-09-13 13:17:38 +02:00
Fix up the Char type (struct.unpack returns a bytes, not a string).
This commit is contained in:
@@ -77,9 +77,10 @@ class Float(PrimitiveObject, float):
|
||||
"""Primitive Object that handles double or floating point numbers"""
|
||||
_struct_type = float
|
||||
|
||||
class Char(PrimitiveObject, str):
|
||||
|
||||
class Char(PrimitiveObject, bytes):
|
||||
"""Primitive Object that handles characters"""
|
||||
_struct_type = str
|
||||
_struct_type = bytes
|
||||
|
||||
|
||||
class Bytes(PrimitiveObject, bytes):
|
||||
|
||||
Reference in New Issue
Block a user