[Modify] Move it

This commit is contained in:
sta 2015-10-06 14:43:36 +09:00
parent 41619ca1b1
commit 75faec8860

View File

@ -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 #endregion
#region Public Properties #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 { public bool IsBinary {
get { get {
return _opcode == Opcode.Binary; return _opcode == Opcode.Binary;