Function checksum

Checksum returns the 2-byte checksum for the provided data Data returned is in little endian

ubyte[2] checksum (
  scope const(ubyte)[] data
) pure nothrow @nogc @safe;