Remove trailing whitespace (#3668)

This commit is contained in:
John Vandenberg
2022-07-07 17:18:20 +08:00
committed by GitHub
parent 0af9524e16
commit 0e6e16645c
1330 changed files with 23570 additions and 23571 deletions

View File

@@ -30,7 +30,7 @@ class Foundation_API UTF32Encoding: public TextEncoding
///
/// When converting from UTF-32 to Unicode, surrogates are
/// reported as they are - in other words, surrogate pairs
/// are not combined into one Unicode character.
/// are not combined into one Unicode character.
{
public:
enum ByteOrderType
@@ -39,28 +39,28 @@ public:
LITTLE_ENDIAN_BYTE_ORDER,
NATIVE_BYTE_ORDER
};
UTF32Encoding(ByteOrderType byteOrder = NATIVE_BYTE_ORDER);
/// Creates and initializes the encoding for the given byte order.
UTF32Encoding(int byteOrderMark);
/// Creates and initializes the encoding for the byte-order
/// indicated by the given byte-order mark, which is the Unicode
/// character 0xFEFF.
~UTF32Encoding();
ByteOrderType getByteOrder() const;
/// Returns the byte-order currently in use.
void setByteOrder(ByteOrderType byteOrder);
/// Sets the byte order.
void setByteOrder(int byteOrderMark);
/// Sets the byte order according to the given
/// byte order mark, which is the Unicode
/// character 0xFEFF.
const char* canonicalName() const;
bool isA(const std::string& encodingName) const;
const CharacterMap& characterMap() const;
@@ -68,7 +68,7 @@ public:
int convert(int ch, unsigned char* bytes, int length) const;
int queryConvert(const unsigned char* bytes, int length) const;
int sequenceLength(const unsigned char* bytes, int length) const;
private:
bool _flipBytes;
static const char* _names[];