// Copyright 2018 The Fuchsia Authors. All rights reserved. | |
// Use of this source code is governed by a BSD-style license that can be | |
// found in the LICENSE file. | |
#include "garnet/lib/debug_ipc/protocol_helpers.h" | |
namespace debug_ipc { | |
void Serialize(const std::string& s, MessageWriter* writer) { | |
writer->WriteString(s); | |
} | |
bool Deserialize(MessageReader* reader, std::string* s) { | |
return reader->ReadString(s); | |
} | |
} // namespace debug_ipc |