TrailingByteArray won't fail on null fields

This commit is contained in:
əlemi 2021-11-24 11:16:20 +01:00
parent 3451cefd5c
commit d1d1eb5ca1

View file

@ -225,6 +225,7 @@ class TrailingByteArray(Type):
@classmethod
def write(cls, data:bytes, buffer:io.BytesIO):
if data:
buffer.write(data)
@classmethod