Module Decode.Array_cursor

val length : t -> int

Number of items

val current : t -> int

Current offset in the cursor

val consume : t -> unit

Skip current offset, go to the next one

val get_value_and_consume : t -> Value.t
val to_iter : t -> Value.t Iter.t
val to_array_of : (int -> 'a) -> t -> 'a array
val to_iter_of : t -> (int -> 'a) -> 'a Iter.t
val to_list : t -> Value.t list
val to_list_of : (int -> 'a) -> t -> 'a list