34 StreamSink::doWrite(
const uint8_t* buf,
size_t size)
36 m_os.write(reinterpret_cast<const char*>(buf), size);
39 BOOST_THROW_EXCEPTION(
Error(
getIndex(),
"Fail to write data into output stream"));
53 return make_unique<StreamSink>(os);
Copyright (c) 2013-2016 Regents of the University of California.