MCPcopy Create free account
hub / github.com/apple/coremltools / Reverse

Method Reverse

deps/protobuf/csharp/src/Google.Protobuf/ByteArray.cs:69–77  ·  view source on GitHub ↗

Reverses the order of bytes in the array

(byte[] bytes)

Source from the content-addressed store, hash-verified

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}

Callers 3

ParseFloatSlowMethod · 0.80
WriteFloatMethod · 0.80
WriteFloatSlowPathMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected