struct

BigWig::Internal::Cursor

Inherits Struct < Value < Object

A checked, allocation-free cursor over a block. Never casts an unaligned file pointer to a native struct; byte order is explicit for every field.

Constructors

new(bytes : Bytes = Bytes.empty, big_endian : Bool = false)
Source

Instance methods

cstring_bytes
Source
offset
Source
position
Source
remaining
Source
skip(count : Int) : Nil
Source
take(count : Int) : Bytes
Source