blob: 0f42c3bb50c40bab711cf3e13f6afcc78da52c45 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#ifndef GUESSING_DECODER_HH
#define GUESSING_DECODER_HH
#include "macros.hh"
#include <memory>
namespace modxml {
namespace sax {
class Decoder;
// Decoder that tries to figure out, using BOM or just magic
// what encoding is used, optimized for the first character to be
// '<'.
std::unique_ptr<Decoder> HIDDEN create_guessing_decoder();
} // namespace sax
} // namespace modxml
#endif // GUESSING_DECODER_HH
|