zxing-cpp: strip to core library only (remove tests/wrappers/examples/docs); .gitignore: fix /core to allow zxing-cpp/core/ dir
This commit is contained in:
1 parent
22c24d135e
commit
8051dfe4e5
2506 files changed
+57271
-30087
No files matched your search
@@ -0,0 +1,23 @@
|
||||
/*
|
||||
* Copyright 2025 Axel Waggershauser
|
||||
*/
|
||||
// SPDX-License-Identifier: Apache-2.0
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "CharacterSet.h"
|
||||
#include "ECI.h"
|
||||
#include "Range.h"
|
||||
|
||||
#include <string>
|
||||
|
||||
namespace ZXing {
|
||||
|
||||
std::string BytesToUtf8(ByteView bytes, ECI eci);
|
||||
|
||||
inline std::string BytesToUtf8(ByteView bytes, CharacterSet cs)
|
||||
{
|
||||
return BytesToUtf8(bytes, ToECI(cs));
|
||||
}
|
||||
|
||||
} // ZXing
|
||||
Reference in new issue
Block a user