Source code for malduck.crypto.winhdr
# Copyright (C) 2018 Jurriaan Bremer.
# This file is part of Roach - https://github.com/jbremer/roach.
# See the file 'docs/LICENSE.txt' for copying permission.
import io
from typing import Any, Optional
from ..ints import UInt8, UInt16, UInt32
from ..structure import Structure
class BaseBlob:
def __init__(self) -> None:
self.bitsize = 0
def parse(self, buf: io.BytesIO) -> Optional[int]:
raise NotImplementedError
def export_key(self) -> Any:
raise NotImplementedError