[Modify] Add it

This commit is contained in:
sta 2016-10-03 15:49:35 +09:00
parent 3ae03bf403
commit 6c8f033a28

View File

@ -162,5 +162,23 @@ namespace WebSocketSharp
}
#endregion
#region Private Methods
private void setData ()
{
if (_dataSet)
return;
if (_opcode == Opcode.Binary) {
_dataSet = true;
return;
}
_data = _rawData.UTF8Decode ();
_dataSet = true;
}
#endregion
}
}