-
Notifications
You must be signed in to change notification settings - Fork 12
Checksum
deng_ran edited this page Jul 8, 2021
·
1 revision
FastProto supports data integrity verification. If the data class is annotated by the annotation CheckSum, FastProto will check whether the checksum matches before deserialization. If it does not match, DecodingException will be thrown.
@CheckSum(value = CheckPolicy.CRC32, byteOffset = 0, length = -4, endianPolicy = EndianPolicy.BIG)
public class Weather {
}