1 //  endian/example/third_party_format.hpp
2 
3 //  Copyright Beman Dawes 2014
4 
5 //  Distributed under the Boost Software License, Version 1.0.
6 //  See http://www.boost.org/LICENSE_1_0.txt
7 
8 #include <cstdint>
9 
10 namespace third_party
11 {
12     struct record
13     {
14       uint32_t   id;       // big endian
15       int32_t    balance;  // big endian
16 
17       // ...  data members whose endianness is not a concern
18     };
19 }
20