Convenience function to locate the position of an isochronous packet within the buffer of an isochronous transfer.
public IntPtr GetIsoPacketBuffer(
Public Function GetIsoPacketBuffer ( _
packet As Integer _
) As IntPtr
- packet (Int32)
- The packet to return the address of.
the base address of the packet buffer inside the transfer buffer.
This is a thorough function which loops through all preceding packets, accumulating their lengths to find the position of the specified packet. Typically you will assign equal lengths to each packet in the transfer, and hence the above method is sub-optimal. You may wish to use GetIsoPacketBufferSimple(Int32) instead.
(Module: LibUsbDotNet) Version: 188.8.131.52 (184.108.40.206)