<feed xmlns='http://www.w3.org/2005/Atom'>
<title>talos-hcode/import/hwpf/fapi2/include/buffer_stream.H, branch 03-26-2018</title>
<subtitle>Blackbird™ HCODE sources</subtitle>
<id>https://git.raptorcs.com/git/talos-hcode/atom?h=03-26-2018</id>
<link rel='self' href='https://git.raptorcs.com/git/talos-hcode/atom?h=03-26-2018'/>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-hcode/'/>
<updated>2017-10-23T21:06:08+00:00</updated>
<entry>
<title>fapi2: Add helper classes for streaming data into/out of variable_buffers</title>
<updated>2017-10-23T21:06:08+00:00</updated>
<author>
<name>Joachim Fenkes</name>
<email>fenkes@de.ibm.com</email>
</author>
<published>2016-06-08T16:34:11+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-hcode/commit/?id=d26ebc0308a1c5119b734715e64b9b004fe2a1c2'/>
<id>urn:sha1:d26ebc0308a1c5119b734715e64b9b004fe2a1c2</id>
<content type='text'>
This adds buffer_stream.H which currently contains three classes:

buffer_ostream           - for streaming bits into a variable_buffer
fixed_buffer_ostream&lt;OT&gt; - for streaming OT-sized chunks into a buffer
fixed_buffer_istream&lt;OT&gt; - for streaming OT-sized chunks out of a buffer

The classes keep track of the current write/read position so we don't have
to drag that along with the buffers manually.

There's no buffer_istream -- I didn't need that yet so haven't implemented it.

Also adds tests to fapi2_variable_buffer_test.C.

Change-Id: I53578d800c5c52c688bd761326b36a51c06dd213
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/25520
Dev-Ready: Joachim Fenkes &lt;fenkes@de.ibm.com&gt;
Tested-by: PPE CI
Tested-by: Jenkins Server
Reviewed-by: Brian R. Silver &lt;bsilver@us.ibm.com&gt;
Reviewed-by: Matt K. Light &lt;mklight@us.ibm.com&gt;
Reviewed-by: Jennifer A. Stofer &lt;stofer@us.ibm.com&gt;
</content>
</entry>
</feed>
