fix(writer): reset buffer pointer (#62)
This commit is contained in:
parent
a05cadf843
commit
18d2b89358
@ -29,6 +29,7 @@ writer::~writer()
|
|||||||
auto writer::clear() -> void
|
auto writer::clear() -> void
|
||||||
{
|
{
|
||||||
std::memset(data_, 0, size_);
|
std::memset(data_, 0, size_);
|
||||||
|
pos_ = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
template<> auto writer::write(i8 data) -> void
|
template<> auto writer::write(i8 data) -> void
|
||||||
|
Loading…
Reference in New Issue
Block a user