[Modify] Polish it

master
sta 6 years ago
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…
Cancel
Save