File: System\Runtime\Serialization\Formatters\Binary\MessageEnd.cs | Web Access |
Project: src\src\libraries\System.Runtime.Serialization.Formatters\src\System.Runtime.Serialization.Formatters.csproj (System.Runtime.Serialization.Formatters) |
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. namespace System.Runtime.Serialization.Formatters.Binary { internal sealed class MessageEnd : IStreamable { internal MessageEnd() { } public void Write(BinaryFormatterWriter output) { output.WriteByte((byte)BinaryHeaderEnum.MessageEnd); } public void Read(BinaryParser input) { //binaryHeaderEnum = input.ReadByte(); already read } } } |