blob: 28547ae7a5bd8c9b7e89d5e5f602197c7db86e7e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#include <library/cpp/string_utils/base64/base64.h>
#include <util/system/types.h>
#include <util/system/yassert.h>
extern "C" int LLVMFuzzerTestOneInput(const ui8* data, size_t size) {
const TStringBuf example{reinterpret_cast<const char*>(data), size};
const auto converted = Base64Decode(Base64Encode(example));
Y_VERIFY(example == converted);
return 0;
}
|