Return data when GmiiFrame is cast to bytes
This commit is contained in:
@@ -110,6 +110,9 @@ class GmiiFrame(object):
|
||||
def __iter__(self):
|
||||
return self.data.__iter__()
|
||||
|
||||
def __bytes__(self):
|
||||
return bytes(self.data)
|
||||
|
||||
|
||||
class GmiiSource(object):
|
||||
|
||||
|
||||
Reference in New Issue
Block a user