mirror of
https://github.com/tiennm99/zfoo.git
synced 2026-05-21 00:25:16 +00:00
test[py]: python compatible field support
This commit is contained in:
@@ -3,8 +3,8 @@
|
||||
from unittest import TestCase
|
||||
import struct
|
||||
|
||||
from pyProtocol import ProtocolManager
|
||||
from pyProtocol import ByteBuffer
|
||||
from zfoopy import ProtocolManager
|
||||
from zfoopy import ByteBuffer
|
||||
|
||||
def print_bytearray(array):
|
||||
signed_byte_array = struct.unpack('b' * len(array), array)
|
||||
|
||||
Reference in New Issue
Block a user