mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-26 02:18:04 +01:00
Remove trailing whitespace (#3668)
This commit is contained in:
@@ -29,8 +29,8 @@ namespace Poco {
|
||||
class Foundation_API HexBinaryEncoderBuf: public UnbufferedStreamBuf
|
||||
/// This streambuf encodes all data written
|
||||
/// to it in hexBinary encoding and forwards it to a connected
|
||||
/// ostream.
|
||||
/// In hexBinary encoding, each binary octet is encoded as a character tuple,
|
||||
/// ostream.
|
||||
/// In hexBinary encoding, each binary octet is encoded as a character tuple,
|
||||
/// consisting of two hexadecimal digits ([0-9a-fA-F]) representing the octet code.
|
||||
/// See also: XML Schema Part 2: Datatypes (http://www.w3.org/TR/xmlschema-2/),
|
||||
/// section 3.2.15.
|
||||
@@ -43,24 +43,24 @@ class Foundation_API HexBinaryEncoderBuf: public UnbufferedStreamBuf
|
||||
public:
|
||||
HexBinaryEncoderBuf(std::ostream& ostr);
|
||||
~HexBinaryEncoderBuf();
|
||||
|
||||
|
||||
int close();
|
||||
/// Closes the stream buffer.
|
||||
|
||||
|
||||
void setLineLength(int lineLength);
|
||||
/// Specify the line length.
|
||||
///
|
||||
/// After the given number of characters have been written,
|
||||
/// After the given number of characters have been written,
|
||||
/// a newline character will be written.
|
||||
///
|
||||
/// Specify 0 for an unlimited line length.
|
||||
|
||||
|
||||
int getLineLength() const;
|
||||
/// Returns the currently set line length.
|
||||
|
||||
|
||||
void setUppercase(bool flag = true);
|
||||
/// Specify whether hex digits a-f are written in upper or lower case.
|
||||
|
||||
|
||||
private:
|
||||
int writeToDevice(char c);
|
||||
|
||||
@@ -95,7 +95,7 @@ class Foundation_API HexBinaryEncoder: public HexBinaryEncoderIOS, public std::o
|
||||
/// Always call close() when done
|
||||
/// writing data, to ensure proper
|
||||
/// completion of the encoding operation.
|
||||
/// In hexBinary encoding, each binary octet is encoded as a character tuple,
|
||||
/// In hexBinary encoding, each binary octet is encoded as a character tuple,
|
||||
/// consisting of two hexadecimal digits ([0-9a-fA-F]) representing the octet code.
|
||||
/// See also: XML Schema Part 2: Datatypes (http://www.w3.org/TR/xmlschema-2/),
|
||||
/// section 3.2.15.
|
||||
|
||||
Reference in New Issue
Block a user