summaryrefslogtreecommitdiff
path: root/src/GZipEncoder.h
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2015-01-16 01:14:34 +0100
committerDan Fandrich <dan@coneharvesters.com>2015-01-16 01:17:35 +0100
commit0538aa40da9eb22a20e124799a00dc519742b86a (patch)
tree3c3a7d2dacaa1401f1bbf633b1a2a981113253e1 /src/GZipEncoder.h
parentd0c20e158e024ef11faf1b6a52534cf2d11750e1 (diff)
Fixed some typos in code comments
Diffstat (limited to 'src/GZipEncoder.h')
-rw-r--r--src/GZipEncoder.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/GZipEncoder.h b/src/GZipEncoder.h
index 45366017..f6517742 100644
--- a/src/GZipEncoder.h
+++ b/src/GZipEncoder.h
@@ -57,7 +57,7 @@ public:
~GZipEncoder();
- // Initializes deflator.
+ // Initializes deflater.
void init();
// Feeds NULL-terminated c-string s to deflater. The deflated
@@ -72,12 +72,12 @@ public:
// deflated result is kept in this class.
GZipEncoder& write(const char* s, size_t length);
- // Feeds integer to deflator. Before passed to deflator, i is
+ // Feeds integer to deflater. Before passed to deflater, i is
// converted to std::string using util::itos(). The deflated result
// is kept in this class.
GZipEncoder& operator<<(int64_t i);
- // Feeds binary data pointed by in with size length to deflator and
+ // Feeds binary data pointed by in with size length to deflater and
// returns compressed output available so far. Don't use this
// method with operator<< methods.
std::string encode(const unsigned char* in, size_t length)