diff --git a/Include/Aurora/Memory/ByteBuffer_Utils.inl b/Include/Aurora/Memory/ByteBuffer_Utils.inl index 20c67d05..8ce742e1 100644 --- a/Include/Aurora/Memory/ByteBuffer_Utils.inl +++ b/Include/Aurora/Memory/ByteBuffer_Utils.inl @@ -119,6 +119,12 @@ namespace Aurora::Memory return !IsEmpty() && !HasStreamError(); } + + bool ByteBuffer::IsEmpty() const + { + return !length || !base; + } + ByteBuffer &ByteBuffer::operator =(ByteBuffer && other) { Reset();