summaryrefslogtreecommitdiff
path: root/AK/ByteBuffer.h
AgeCommit message (Expand)Author
2023-03-09AK: Replace C-style castsSam Atkins
2023-02-10AK: Allow Vector<ByteBuffer>::contains_slow to accept (Readonly)BytesLuke Wilde
2023-02-08Everywhere: Use ReadonlySpan<T> instead of Span<T const>MacDue
2023-01-31AK: Fix all quadratic-time append-loops over ByteBufferBen Wiederhake
2022-12-31AK: Prefer VERIFY_NOT_REACHED in ByteBufferNico Weber
2022-11-06Everywhere: Remove redundant inequality comparison operatorsDaniel Bertalan
2022-11-01AK: Use size_t for ByteBuffer offsetsTimothy Flynn
2022-07-14AK: Add Traits<ByteBuffer>::hash()Linus Groh
2022-06-27AK: Perform a resize in ByteBuffer::get_bytes_for_writing()Lucas CHOLLET
2022-06-13AK/ByteBuffer+Everywhere: Handle errors in ByteBuffer::slice()Matthias Zimmerman
2022-05-12AK+DHCPClient: Fix false positive gcc 12 warningsDaniel Bertalan
2022-02-13AK: Don't call memcpy() in ByteBuffer::append(u8)Andreas Kling
2022-01-24Everywhere: Convert ByteBuffer factory methods from Optional -> ErrorOrSam Atkins
2022-01-13AK: Add ByteBuffer::{must_,}get_bytes_for_writing()sin-ack
2022-01-09AK: Add ByteBuffer::append(char)Maciej
2021-12-16AK: Use __builtin_memmove for ByteBuffer and Span's overwritesin-ack
2021-11-14AK: Resolve clang-tidy readability-qualified-auto warningsAndrew Kaster
2021-11-14AK: Resolve clang-tidy readability-bool-conversion warningsAndrew Kaster
2021-11-11Everywhere: Pass AK::ReadonlyBytes by valueAndreas Kling
2021-11-10AK: Make ByteBuffer::try_* functions return ErrorOr<void>Andreas Kling
2021-09-06Everywhere: Make ByteBuffer::{create_*,copy}() OOM-safeAli Mohammad Pur
2021-09-06AK: Add OOM-safe ByteBuffer::try_{resize,append,ensure_capacity}() APIsAli Mohammad Pur
2021-07-11AK: Don't forget to kfree_sized() in ByteBufferAndreas Kling
2021-07-11AK: Don't use realloc() in AK::ByteBufferAndreas Kling
2021-07-11AK: Use kfree_sized() in AK::ByteBufferAndreas Kling
2021-06-12AK: Add ByteBuffer::append(ReadonlyBytes)Matthew Olsson
2021-06-08LibC+AK: Remove our custom macros from <assert.h>Gunnar Beutner
2021-05-31AK: Split the ByteBuffer::trim method into two methodsGunnar Beutner
2021-05-31AK: Remove the public ByteBuffer::trim methodGunnar Beutner
2021-05-31AK: Replace ByteBuffer::grow with resize()/ensure_capacity()Gunnar Beutner
2021-05-30Revert "AK: Fix accidentally-quadratic behavior in StringBuilder"Ben Wiederhake
2021-05-30AK: Fix accidentally-quadratic behavior in StringBuilderBen Wiederhake
2021-05-27AK: Convince GCC that m_outline_capacity isn't being readGunnar Beutner
2021-05-27AK: Explicitly initialize buffer member in ByteBufferAndrew Kaster
2021-05-16AK: Don't call memcpy with null argument in ByteBuffer::copy()Andrew Kaster
2021-05-16AK+Userland: Remove nullability feature for the ByteBuffer typeGunnar Beutner
2021-05-16AK: Turn ByteBuffer into a value typeGunnar Beutner
2021-05-14AK: Avoid allocations in ByteBufferGunnar Beutner
2021-05-14AK: Avoid passing nullptr to __buitin_memcpy() in ByteBuffer::grow()Ali Mohammad Pur
2021-04-23AK: Rename adopt() to adopt_ref()Andreas Kling
2021-04-22Everything: Move to SPDX license identifiers in all files.Brian Gianforcaro
2021-04-21AK: Decorate most of ByteBuffer with [[nodiscard]]Andreas Kling
2021-03-15AK: Make ByteBuffer::slice(0, size()) a freebieAndreas Kling
2021-03-12Everywhere: Remove klog(), dbg() and purge all LogStream usage :^)Andreas Kling
2021-02-23Everywhere: Rename ASSERT => VERIFYAndreas Kling
2021-02-21AK: Add safe memset() wrapper to ByteBufferBrian Gianforcaro
2021-02-08Everywhere: Remove unnecessary headers 3/4Ben Wiederhake
2021-01-12AK: Simplify constructors and conversions from nullptr_tLenny Maiorani
2021-01-02AK: Remove redundant compare() functions.asynts
2020-12-30AK: Add a ByteBuffer::copy(ReadonlyBytes) overloadAnotherTest