[Modify] Polish it

This commit is contained in:
sta 2016-12-12 17:12:18 +09:00
parent ef2f1d8137
commit 056f2c8ffc

View File

@ -3015,7 +3015,7 @@ namespace WebSocketSharp
byte[] bytes; byte[] bytes;
if (!data.TryGetUTF8EncodedBytes (out bytes)) if (!data.TryGetUTF8EncodedBytes (out bytes))
throw new ArgumentException ("It could not be UTF8 encoded.", "data"); throw new ArgumentException ("It could not be UTF-8-encoded.", "data");
sendAsync (Opcode.Text, new MemoryStream (bytes), completed); sendAsync (Opcode.Text, new MemoryStream (bytes), completed);
} }