[Modify] Polish it
This commit is contained in:
parent
079c09ccb6
commit
b6011de7cf
@ -2077,8 +2077,10 @@ namespace WebSocketSharp
|
||||
? BitConverter.GetBytes ((UInt64)(object) value)
|
||||
: WebSocket.EmptyBytes;
|
||||
|
||||
if (bytes.Length > 1 && !order.IsHostOrder ())
|
||||
if (bytes.Length > 1) {
|
||||
if (!order.IsHostOrder ())
|
||||
Array.Reverse (bytes);
|
||||
}
|
||||
|
||||
return bytes;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user