is there a way to convert an object to an bytearray?

后端 未结 0 968
时光取名叫无心
时光取名叫无心 2020-12-19 03:05

I have a class Packet is there a way to convert an object of it to an bytearray?

from abc import abstractmethod

class Packet:
    @abstractmethod
    def __i         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题