Reverses the order of bytes in the array
(byte[] bytes)
| 67 | /// Reverses the order of bytes in the array |
| 68 | /// </summary> |
| 69 | internal static void Reverse(byte[] bytes) |
| 70 | { |
| 71 | for (int first = 0, last = bytes.Length - 1; first < last; first++, last--) |
| 72 | { |
| 73 | byte temp = bytes[first]; |
| 74 | bytes[first] = bytes[last]; |
| 75 | bytes[last] = temp; |
| 76 | } |
| 77 | } |
| 78 | } |
| 79 | } |
no outgoing calls
no test coverage detected