diff options
| author | Dennis Brentjes <d.brentjes@gmail.com> | 2016-07-05 17:51:21 +0200 |
|---|---|---|
| committer | Dennis Brentjes <d.brentjes@gmail.com> | 2016-07-05 17:51:21 +0200 |
| commit | 06336eaddcc6a8f9cc578d8f059117c3aa535c9f (patch) | |
| tree | 4884cc68161df06112a49a04007fa6d03775d507 /binparse/parse.hpp | |
| parent | b80a82fcc9edc73057796005cede4eea8380e193 (diff) | |
| download | openwar-06336eaddcc6a8f9cc578d8f059117c3aa535c9f.tar.gz openwar-06336eaddcc6a8f9cc578d8f059117c3aa535c9f.tar.bz2 openwar-06336eaddcc6a8f9cc578d8f059117c3aa535c9f.zip | |
Made the interface somewhat more consistant.
Diffstat (limited to 'binparse/parse.hpp')
| -rw-r--r-- | binparse/parse.hpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/binparse/parse.hpp b/binparse/parse.hpp index e02b230..5c641d8 100644 --- a/binparse/parse.hpp +++ b/binparse/parse.hpp @@ -49,6 +49,9 @@ template<> Offset16 parse<Offset16>(std::istream& is, std::string name); template<> +Value24 parse<Value24>(std::istream& is, std::string name); + +template<> Value32 parse<Value32>(std::istream& is, std::string name); template<> @@ -58,6 +61,9 @@ template<> PString8 parse<PString8>(std::istream& is, std::string name); template<> +std::array<uint8_t, 3> parse<std::array<uint8_t, 3>>(std::istream& is, std::string name); + +template<> std::array<uint8_t, 8> parse<std::array<uint8_t, 8>>(std::istream& is, std::string name); template<> |
