Handbook
Glossary
libusb_get_iso_packet_buffer_simple ( transfer packet -- data )
Vocabulary
libusb
Inputs
transfer
an
object
packet
an
object
Outputs
data
an
object
Definition
USING:
accessors
alien
alien.data
kernel
math
sequences
;
IN:
libusb
::
libusb_get_iso_packet_buffer_simple
( transfer packet -- data )
packet transfer
num_iso_packets>>
>=
[
f
]
[
0 transfer
[
iso_packet_desc>>
>c-ptr
]
[
num_iso_packets>>
]
bi
libusb_iso_packet_descriptor
<c-direct-array>
nth
length>>
packet
*
transfer
buffer>>
<displaced-alien>
]
if
;