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