class
HTS::Bcf::Info
- HTS::Bcf::Info
- Reference
- Object
Defined in:
hts/bcf/info.crConstructors
Instance Method Summary
- #delete(tag : String) : Bool
- #get_flag(tag) : Bool | Nil
- #get_float(tag) : Array(Float32) | Nil
- #get_float_opt(tag) : Array(Float32 | Nil) | Nil
- #get_int(tag) : Array(Int32) | Nil
- #get_int64(tag) : Array(Int64) | Nil
- #get_int64_opt(tag) : Array(Int64 | Nil) | Nil
- #get_int_opt(tag) : Array(Int32 | Nil) | Nil
- #get_string(tag) : String | Nil
- #update_flag(tag : String, present : Bool = true)
- #update_float(tag : String, value : Number)
- #update_float(tag : String, values : Array(Float32))
- #update_int(tag : String, value : Int)
- #update_int(tag : String, values : Array(Int32))
- #update_int64(tag : String, value : Int)
- #update_int64(tag : String, values : Array(Int64))
- #update_string(tag : String, value : String)
-
#with_f32_buffer(tag : String, & : Slice(Float32) -> ) : Bool
Yields a borrowed view of the raw Float32 INFO values.
EXPERIMENTAL
-
#with_i32_buffer(tag : String, & : Slice(Int32) -> ) : Bool
Yields a borrowed view of the raw Int32 INFO values.
EXPERIMENTAL
-
#with_i64_buffer(tag : String, & : Slice(Int64) -> ) : Bool
Yields a borrowed view of the raw Int64 INFO values.
EXPERIMENTAL
-
#with_string_view(tag : String, & : Bytes -> ) : Bool
EXPERIMENTAL
Constructor Detail
Instance Method Detail
Yields a borrowed view of the raw Float32 INFO values.
Returns false without yielding when the field is absent. The slice is valid only during the block and may be invalidated earlier by another INFO Float32 getter on the same record.
EXPERIMENTAL
Yields a borrowed view of the raw Int32 INFO values.
Returns false without yielding when the field is absent. The slice is valid only during the block and may be invalidated earlier by another INFO Int32 getter on the same record.
EXPERIMENTAL
Yields a borrowed view of the raw Int64 INFO values.
Returns false without yielding when the field is absent. The slice is valid only during the block and may be invalidated earlier by another INFO Int64 getter on the same record.
EXPERIMENTAL