Encode data followed by its CRC-32 (big-endian) in style (default minimal).
data
style
InvalidParameter unless data is a Uint8Array and style one of the three.
InvalidParameter
Uint8Array
Encode
datafollowed by its CRC-32 (big-endian) instyle(default minimal).