<filename>src/main/python/ipystate/utils.py
from typing import BinaryIO


class StreamingUtils:
    @staticmethod
    def transfer(src: BinaryIO, dst: BinaryIO):
        pass

    @staticmethod
    def to_bytes(src: BinaryIO) -> bytes:
        pass

<filename>src/main/python/ipystate/utils.py
from typing import BinaryIO


class StreamingUtils:
    @staticmethod
    def transfer(src: BinaryIO, dst: BinaryIO):
        pass

    @staticmethod
    def to_bytes(src: BinaryIO) -> bytes:
        pass
