mirror of
https://github.com/SerenityOS/serenity
synced 2026-05-09 08:32:04 +02:00
This function did a const_cast internally which made the call side look "safe". This method is removed completely and call sites are replaced with ByteBuffer::wrap(const_cast<void*>(data), size) which makes the behaviour obvious.