aboutsummaryrefslogtreecommitdiffstats
path: root/searchlib/src/vespa/searchlib/test/fakedata/bitencode64.cpp
blob: 3c687764dec1316a9c40fde0d0d584a924b2ffcd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Copyright Vespa.ai. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.

#include "bitencode64.h"

namespace search::fakedata {

template <bool bigEndian>
BitEncode64<bigEndian>::BitEncode64()
    : bitcompression::EncodeContext64<bigEndian>(),
      _cbuf(*this)
{
    _cbuf.allocComprBuf(64, 1);
    this->afterWrite(_cbuf, 0, 0);
}

template <bool bigEndian>
BitEncode64<bigEndian>::~BitEncode64() = default;

template class BitEncode64<true>;
template class BitEncode64<false>;

}