You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
367 B
23 lines
367 B
/* |
|
* 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
|
|
|