mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 03:08:13 +00:00
AK: Move memory streams from LibCore
This commit is contained in:
parent
11550f582b
commit
093cf428a3
46 changed files with 213 additions and 203 deletions
|
@ -9,8 +9,8 @@
|
|||
#include "Name.h"
|
||||
#include "PacketHeader.h"
|
||||
#include <AK/Debug.h>
|
||||
#include <AK/MemoryStream.h>
|
||||
#include <AK/StringBuilder.h>
|
||||
#include <LibCore/MemoryStream.h>
|
||||
#include <arpa/inet.h>
|
||||
|
||||
namespace DNS {
|
||||
|
@ -48,7 +48,7 @@ ErrorOr<ByteBuffer> Packet::to_byte_buffer() const
|
|||
header.set_question_count(m_questions.size());
|
||||
header.set_answer_count(m_answers.size());
|
||||
|
||||
Core::Stream::AllocatingMemoryStream stream;
|
||||
AllocatingMemoryStream stream;
|
||||
|
||||
TRY(stream.write_value(header));
|
||||
for (auto& question : m_questions) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue