Bitstream Interpretation Library (BIL)  0.1
Type2PacketRawData.hpp
Go to the documentation of this file.
1 
6 #pragma once
7 #ifndef BIL_TYPE2PACKETRAWDATA_HPP
8 #define BIL_TYPE2PACKETRAWDATA_HPP
9 
10 #include <cstring>
11 #include <boost/cstdint.hpp>
12 
13 
14 namespace bil {
15 
16  class Type2Packet;
17 
18 
26  size_t isType2Packet(const boost::uint32_t* words, size_t wordCount);
27 
28 
34  size_t type2PacketWordCount(const Type2Packet& type2Packet);
35 
44  size_t writeType2Packet(const Type2Packet& type2Packet, boost::uint32_t* words, size_t wordCount);
45 
46 
55  size_t readType2Packet(Type2Packet& type2Packet, const boost::uint32_t* words, size_t wordCount);
56 
57 }
58 
59 #endif