MeshxRpc.Protocol.Default.checksum
You're seeing just the function
checksum
, go back to MeshxRpc.Protocol.Default module for more information.
Specs
Calculates checksum for given data
with :erlang.crc32/1
.
Function returns checksum as 4 bytes binary big endian unsigned integer.
iex(1)> MeshxRpc.Protocol.Default.checksum("test", [])
<<216, 127, 126, 12>>