

@bacpypes_debugging
def object_identifier_encode(obj):
    'Encode an ObjectIdentifier object into a tag.'
    if _debug:
        object_identifier_encode._debug('object_identifier_encode %r', obj)
    tag = Tag()
    obj.encode(tag)
    if _debug:
        object_identifier_endec._debug('    - tag: %r', tag)
    return tag

dataset/ETHPy150Open JoelBender/bacpypes/tests/test_primitive_data/test_object_identifier.py object_identifier_encode/original