[ox/fs] Add new FileStore write

This commit is contained in:
2018-04-26 21:11:48 -05:00
parent 59cc34b4e8
commit 24fbb8ba86
9 changed files with 81 additions and 35 deletions

View File

@@ -18,7 +18,7 @@ namespace ox {
template<std::size_t buffLen>
class BString {
private:
uint8_t m_buff[buffLen];
uint8_t m_buff[buffLen + 1];
public:
BString() noexcept;

View File

@@ -61,9 +61,7 @@ struct ValErr {
inline constexpr ValErr() = default;
inline constexpr ValErr(T value, Error error = 0) {
this->value = value;
this->error = error;
inline constexpr ValErr(T value, Error error = 0): value(value), error(error) {
}
inline constexpr operator const T&() const {