Namespaces |
namespace | cinder |
Functions |
IStreamFileRef | cinder::loadFileStream (const std::string &path) |
| Opens the file lcoated at path for read access as a stream.
|
OStreamFileRef | cinder::writeFileStream (const std::string &path, bool createParents=true) |
| Opens the file located at path for write access as a stream, and creates it if it does not exist. Optionally creates any intermediate directories when createParents is true.
|
IoStreamFileRef | cinder::readWriteFileStream (const std::string &path) |
| Opens a path for read-write access as a stream.
|
void | cinder::loadStreamMemory (IStreamRef is, shared_ptr< uint8_t > *resultData, size_t *resultDataSize) |
| Loads the contents of a stream into a contiguous block of memory, pointed to by resultData. The size of this block is stored in resultDataSize.
|
Buffer | cinder::loadStreamBuffer (IStreamRef is) |
| Loads the contents of a stream into a Buffer.
|