PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University. More...
#include "copy_stream.h"
Go to the source code of this file.
Functions | |
bool | copy_stream (std::istream &source, std::ostream &dest) |
Reads the source stream from its current position to the end of the stream, and writes that data to the dest stream at its current position. More... | |
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
All rights reserved.
All use of this software is subject to the terms of the revised BSD license. You should have received a copy of this license along with this source code in a file named "LICENSE."
Definition in file copy_stream.cxx.
bool copy_stream | ( | std::istream & | source, |
std::ostream & | dest | ||
) |
Reads the source stream from its current position to the end of the stream, and writes that data to the dest stream at its current position.
Returns true on success, false on failure.
Definition at line 22 of file copy_stream.cxx.