diff options
author | kenton@google.com <kenton@google.com@630680e5-0e50-0410-840e-4b1c322b438d> | 2009-04-16 22:30:56 +0000 |
---|---|---|
committer | kenton@google.com <kenton@google.com@630680e5-0e50-0410-840e-4b1c322b438d> | 2009-04-16 22:30:56 +0000 |
commit | e59427a62cdd93ac8b18396d19f6dc74e979df95 (patch) | |
tree | 280938f0c9c0f84bcc3898bf3161b9700d9071cd /src/google/protobuf/io/zero_copy_stream_impl.cc | |
parent | f663b1602d2675b1ab91d76dd739070d34e01291 (diff) | |
download | protobuf-e59427a62cdd93ac8b18396d19f6dc74e979df95.tar.gz protobuf-e59427a62cdd93ac8b18396d19f6dc74e979df95.tar.bz2 protobuf-e59427a62cdd93ac8b18396d19f6dc74e979df95.zip |
Commit Brian Olson's gzip stream implementations.
Diffstat (limited to 'src/google/protobuf/io/zero_copy_stream_impl.cc')
-rw-r--r-- | src/google/protobuf/io/zero_copy_stream_impl.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/google/protobuf/io/zero_copy_stream_impl.cc b/src/google/protobuf/io/zero_copy_stream_impl.cc index 04d573e1..730bd2f7 100644 --- a/src/google/protobuf/io/zero_copy_stream_impl.cc +++ b/src/google/protobuf/io/zero_copy_stream_impl.cc @@ -528,6 +528,10 @@ bool FileOutputStream::Close() { return copying_output_.Close() && flush_succeeded; } +bool FileOutputStream::Flush() { + return impl_.Flush(); +} + bool FileOutputStream::Next(void** data, int* size) { return impl_.Next(data, size); } |