Panda3D
Functions
copy_stream.cxx File Reference

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...
 

Detailed Description

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."

Author
drose
Date
2009-08-27

Definition in file copy_stream.cxx.

Function Documentation

◆ copy_stream()

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.