fsp_srv: Various improvements to IStorage:Read implementation.

This commit is contained in:
bunnei 2018-01-20 21:32:36 -05:00
parent d9a91d7678
commit 8e50d6002b
5 changed files with 79 additions and 48 deletions

View file

@ -304,6 +304,11 @@ inline u64 RequestParser::Pop() {
return msw << 32 | lsw;
}
template <>
inline s64 RequestParser::Pop() {
return static_cast<s64>(Pop<u64>());
}
template <>
inline bool RequestParser::Pop() {
return Pop<u8>() != 0;