26 namespace seqan3::detail
45 struct bz2_compression
59 struct zstd_compression
73 struct bgzf_compression
85 gz_compression::magic_header[0], gz_compression::magic_header[1], gz_compression::magic_header[2],
87 '\x04',
'\x00',
'\x00',
'\x00',
'\x00',
'\x00',
'\xff',
'\x06',
'\x00',
89 '\x42',
'\x43',
'\x02',
'\x00',
'\x00',
'\x00'
96 template <
typename char_t,
size_t extend>
99 static_assert(seqan3::detail::weakly_equality_comparable_with<char_t, char>,
100 "The given char type of the span must be comparable with char.");
102 return (header[0] == magic_header[0] &&
103 header[1] == magic_header[1] &&
104 header[2] == magic_header[2] &&
105 (header[3] & magic_header[3]) != 0 &&
106 to_little_endian(*
reinterpret_cast<uint16_t
const *
>(&header[10])) == magic_header[10] &&
107 header[12] == magic_header[12] &&
108 header[13] == magic_header[13] &&
109 to_little_endian(*
reinterpret_cast<uint16_t
const *
>(&header[14])) == magic_header[14]);
Provides type traits for working with templates.
Provides concepts for core language types and relations that don't have concepts in C++20 (yet).
typename decltype(detail::drop_front< pack_t... >())::type drop_front
Return a seqan3::type_list of all the types in the type pack, except the first.
Definition: traits.hpp:322
Provides std::span from the C++20 standard library.
Provides utility functions for bit twiddling.
Provides C++20 additions to the type_traits header.
Provides various traits for template packs.