Bitstream Interpretation Library (BIL)  0.1
PinBS.cpp
Go to the documentation of this file.
1 
8 #include <xdlrc/model/Pin.hpp>
9 
10 using namespace bil;
11 
12 
13 void bil::writeBinary(const Pin& data, std::ostream& outputStream)
14 {
15  writeBinary(data.m_externalName, outputStream);
16  writeBinary(data.m_isInput, outputStream);
17 }
18 
19 
20 void bil::readBinary(Pin& data, std::istream& inputStream)
21 {
22  readBinary(data.m_externalName, inputStream);
23  readBinary(data.m_isInput, inputStream);
24 }