Skip to content
Chris Petersen edited this page Oct 16, 2014 · 1 revision

u8data-ref looks up a value at particular index in the u8data.

Parameter Description
data u8data to operated on
idx Index for which to retrieve the value

Example

Example 1:

> (define mydata (u8vector->u8data (u8vector 0 1 1 2 3 5 8)))
> (u8data-ref mydata 4)
3
Clone this wiki locally