backwards compat

v1
Brett 2023-10-24 21:44:24 -04:00
parent 63ae93c6e6
commit d59cfd0d4a
1 changed files with 6 additions and 0 deletions

View File

@ -87,6 +87,12 @@ namespace blt
return 0;
}
template<bool little_endian = false, typename BYTE_TYPE, typename T>
inline static int fromBytes(const BYTE_TYPE* in, T* out)
{
return fromBytes(in, *out);
}
}
template<typename V>