@staticmethod
def build_array(btag, transfer_size, term_char=None):
    '\n\n        :param transfer_size:\n        :param btag:\n        :param term_char:\n        :return:\n        '
    if (term_char is None):
        transfer_attributes = 0
        term_char = 0
    else:
        transfer_attributes = 2
    return (struct.pack('BBBx', MsgID.request_dev_dep_msg_in, btag, ((~ btag) & 255)) + struct.pack('<LBBxx', transfer_size, transfer_attributes, term_char))
:param transfer_size:
:param btag:
:param term_char:
:return:
@staticmethod
def build_array(btag, transfer_size, term_char=None):
    '\n\n        :param transfer_size:\n        :param btag:\n        :param term_char:\n        :return:\n        '
    if (term_char is None):
        transfer_attributes = 0
        term_char = 0
    else:
        transfer_attributes = 2
    return (struct.pack('BBBx', MsgID.request_dev_dep_msg_in, btag, ((~ btag) & 255)) + struct.pack('<LBBxx', transfer_size, transfer_attributes, term_char))