From 75faec8860e6bd5f72a17f8d1646d060b854f5ce Mon Sep 17 00:00:00 2001 From: sta Date: Tue, 6 Oct 2015 14:43:36 +0900 Subject: [PATCH] [Modify] Move it --- websocket-sharp/WebSocketFrame.cs | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/websocket-sharp/WebSocketFrame.cs b/websocket-sharp/WebSocketFrame.cs index 2d8b5953..0c02b8d1 100644 --- a/websocket-sharp/WebSocketFrame.cs +++ b/websocket-sharp/WebSocketFrame.cs @@ -139,6 +139,16 @@ namespace WebSocketSharp } } + internal ulong FullPayloadLength { + get { + return _payloadLength < 126 + ? _payloadLength + : _payloadLength == 126 + ? _extPayloadLength.ToUInt16 (ByteOrder.Big) + : _extPayloadLength.ToUInt64 (ByteOrder.Big); + } + } + #endregion #region Public Properties @@ -155,16 +165,6 @@ namespace WebSocketSharp } } - public ulong FullPayloadLength { - get { - return _payloadLength < 126 - ? _payloadLength - : _payloadLength == 126 - ? _extPayloadLength.ToUInt16 (ByteOrder.Big) - : _extPayloadLength.ToUInt64 (ByteOrder.Big); - } - } - public bool IsBinary { get { return _opcode == Opcode.Binary;