(transfer_p)
return result
Python-specific helper extracting a list of iso packet buffers.
Python-specific helper extracting a list of iso packet buffers.
Python - specific helper extracting a list of iso packet buffers .
def get_iso_packet_buffer_list(transfer_p):
    """
    Python-specific helper extracting a list of iso packet buffers.
    """
    transfer = transfer_p.contents
    offset = 0
    result = []
    append = result.append
    for iso_transfer in _get_iso_packet_list(transfer):
        length = iso_transfer.length
        append(_get_iso_packet_buffer(transfer, offset, length))
        offset += length
    return result
def get_iso_packet_buffer_list ( transfer_p ) : transfer = transfer_p . contents offset = 0 result = [ ] append = result . append for iso_transfer in _get_iso_packet_list ( transfer ) : length = iso_transfer . length append ( _get_iso_packet_buffer ( transfer , offset , length ) ) offset += length return result