优秀作品
# 二进制字符串输入和追加
a = Binary("x32x01x02x03x00") # 输入二进制字符串
print("%\n",a)
a.appendBinary("x04x05x06") # 在尾部追加二进制字符串
print(a)