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>
100 "The given char type of the span must be comparable with char.");
117 #if defined(SEQAN3_HAS_ZLIB)
121 #if defined(SEQAN3_HAS_BZIP2)
Provides concepts for core language types and relations that don't have concepts in C++20 (yet).
pack_traits::drop_front< void > compression_formats
A seqan3::type_list containing the available compression formats.
Definition: magic_header.hpp:127
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
constexpr type to_little_endian(type const in) noexcept
Convert the byte encoding of integer values to little-endian byte order.
Definition: to_little_endian.hpp:42
Requires the two operands to be comparable with == and != in both directions.
The internal SeqAn3 namespace.
Definition: aligned_sequence_concept.hpp:29
Provides std::span from the C++20 standard library.
A tag signifying a bgzf compressed file.
Definition: magic_header.hpp:74
static std::vector< std::string > file_extensions
The valid file extension for bgzf compression.
Definition: magic_header.hpp:77
static bool validate_header(std::span< char_t, extend > header)
Checks if the given header is a bgzf header.
Definition: magic_header.hpp:97
static constexpr std::array< char, 18 > magic_header
The magic byte sequence to disambiguate bgzf compressed files.
Definition: magic_header.hpp:83
A tag signifying a bz2 compressed file.
Definition: magic_header.hpp:46
static constexpr std::array< char, 3 > magic_header
The magic byte sequence to disambiguate bz2 compressed files.
Definition: magic_header.hpp:54
static std::vector< std::string > file_extensions
The valid file extension for bz2 compression.
Definition: magic_header.hpp:49
A tag signifying a gz compressed file.
Definition: magic_header.hpp:32
static std::vector< std::string > file_extensions
The valid file extension for gz compression.
Definition: magic_header.hpp:35
static constexpr std::array< char, 3 > magic_header
The magic byte sequence to disambiguate gz compressed files.
Definition: magic_header.hpp:40
A tag signifying a zstd compressed file.
Definition: magic_header.hpp:60
static std::vector< std::string > file_extensions
The valid file extension for zstd compression.
Definition: magic_header.hpp:63
static constexpr std::array< char, 4 > magic_header
The magic byte sequence to disambiguate zstd compressed files.
Definition: magic_header.hpp:68
Provides type traits for working with templates.
Provides utility functions for bit twiddling.
Provides various traits for template packs.
Provides C++20 additions to the type_traits header.