#region Copyright notice and license
// Protocol Buffers - Google's data interchange format
// Copyright 2008 Google Inc. All rights reserved.
//
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file or at
// https://developers.google.com/open-source/licenses/bsd
#endregion
namespace Google.Protobuf
{
///
/// Interface for a Protocol Buffers message, supporting
/// parsing from and writing to .
///
public interface IBufferMessage : IMessage
{
///
/// Internal implementation of merging data from given parse context into this message.
/// Users should never invoke this method directly.
///
void InternalMergeFrom(ref ParseContext ctx);
///
/// Internal implementation of writing this message to a given write context.
/// Users should never invoke this method directly.
///
void InternalWriteTo(ref WriteContext ctx);
}
}