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

u8data-skip jumps to a point in u8data.

Parameter Description
data u8data operated on
count Number of steps to move forward

Example

Example 1: Jump forward by 4 steps in a u8data structure

> (define mydata (u8vector->u8data (u8vector 1 4 9 16 25 36 49 64 81 100)))
> mydata
(0 . 10)
> (define mydataskip (u8data-skip mydata 4))
> mydataskip
(4 . 10)
> (u8data->u8vector mydataskip)
#u8(25 36 49 64 81 100)
Clone this wiki locally