class

BigWig::Internal::IOSource

Inherits BigWig::Internal::Source < Reference < Object

IO ownership is explicit; reads preserve the wrapped stream's position. A mutex makes interleaved cursors independent, including over IO::Memory.

Constructors

new(io : IO, sync_close : Bool = false)
Source

Instance methods

close
Source
closed?
Source
read_exact_at(offset : Int64, buffer : Bytes) : Nil
Source
size
Source