class

Fqix::Fastq::StreamParser

Inherits Reference < Object

Streaming parser for four-line FASTQ records.

Constants

NEWLINE = '\n'.ord.to_u8

Constructors

new(on_line : Proc(Bytes, Int32, UInt64, Nil), on_record : Proc(UInt64, UInt64, Bool))
Source

Instance methods

feed(chunk : Bytes) : Bool
Source
finish(strict : Bool = true) : Bool
Source