Get rid of StreamBuffer::read_entire_contents and StreamBuffer::hash
This commit is contained in:
@@ -136,7 +136,7 @@ eng::string AnimState::encode() const {
|
||||
sb.write_bool(value.persistent);
|
||||
sb.write_simple_dynamic(value);
|
||||
}
|
||||
return sb.read_entire_contents();
|
||||
return eng::string(sb.view());
|
||||
}
|
||||
|
||||
void AnimState::decode(std::string_view s) {
|
||||
|
||||
Reference in New Issue
Block a user