# `CRAM.Header.Sequence`
[🔗](https://github.com/baoulo/cram-elixir/blob/v0.1.0/lib/cram/header.ex#L11)

One `@SQ` line. `length` is the `LN` integer. `md5` is the `M5` hex string
when present, otherwise `nil`.

# `t`

```elixir
@type t() :: %CRAM.Header.Sequence{
  fields: %{optional(String.t()) =&gt; String.t()},
  length: non_neg_integer() | nil,
  md5: String.t() | nil,
  name: String.t() | nil
}
```

One reference sequence from `@SQ`.

  * `:name` — `SN`, or `nil` when the tag is absent
  * `:length` — `LN` as a non-negative integer
  * `:md5` — `M5`, or `nil` when the tag is absent
  * `:fields` — every tag on the line, with string keys

    iex> %CRAM.Header.Sequence{name: "sq0", length: 8}.name
    "sq0"

---

*Consult [api-reference.md](api-reference.md) for complete listing*
