aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/codecs/static/example/example.h
blob: 070ca90f02c126c97c949f1286debec3c3baf5cc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#pragma once 
 
#include <util/generic/strbuf.h> 
#include <util/generic/buffer.h> 
 
namespace NStaticCodecExample { 
    enum EDictVersion : ui8 {
        DV_NULL = 0,
        DV_HUFF_20160707,
        DV_SA_HUFF_20160707,
        DV_COUNT
    }; 
 
    void Encode(TBuffer&, TStringBuf, EDictVersion dv = DV_SA_HUFF_20160707); 
 
    void Decode(TBuffer&, TStringBuf); 
}