mark some functions private
This commit is contained in:
parent
b0adb417a0
commit
575589e5a3
@ -64,7 +64,7 @@ struct Encoding
|
||||
return Encoding(CP1252);
|
||||
}
|
||||
|
||||
static bool check_utf8_continuation_bytes(const ubyte * data, size_t n)
|
||||
private static bool check_utf8_continuation_bytes(const ubyte * data, size_t n)
|
||||
{
|
||||
for (size_t i = 0u; i < n; i++)
|
||||
{
|
||||
@ -74,7 +74,7 @@ struct Encoding
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool validate_utf8(const ubyte * data, size_t n)
|
||||
private static bool validate_utf8(const ubyte * data, size_t n)
|
||||
{
|
||||
for (size_t i = 0u; i < n; i++)
|
||||
{
|
||||
@ -121,7 +121,7 @@ struct Encoding
|
||||
return true;
|
||||
}
|
||||
|
||||
static bool check_utf16(const ubyte * data, size_t n, bool le)
|
||||
private static bool check_utf16(const ubyte * data, size_t n, bool le)
|
||||
{
|
||||
size_t n_high_zeros;
|
||||
if ((n == 0u) || ((n & 1u) != 0u))
|
||||
|
Loading…
x
Reference in New Issue
Block a user