diff --git a/Include/Aurora/Memory/ByteBuffer_TypedReadWrite.inl b/Include/Aurora/Memory/ByteBuffer_TypedReadWrite.inl index 1efd3b89..ebbb5ff9 100644 --- a/Include/Aurora/Memory/ByteBuffer_TypedReadWrite.inl +++ b/Include/Aurora/Memory/ByteBuffer_TypedReadWrite.inl @@ -94,6 +94,12 @@ namespace Aurora::Memory Write(in.data(), in.size()); return !this->flagWriteError; } + else if constexpr (AuIsSame_v, std::string_view>) + { + Write(AuUInt32(in.size())); + Write(in.data(), in.size()); + return !this->flagWriteError; + } } auto skipped = Write(&in, sizeof(T));