writeInt method
Implementation
void writeInt(int value) {
int zigzag = (value << 1) ^ (value >> 31);
writeTag(SerializationTag.kInt32);
writer.putVarint(BigInt.from(zigzag).toUnsigned(32).toInt());
}
void writeInt(int value) {
int zigzag = (value << 1) ^ (value >> 31);
writeTag(SerializationTag.kInt32);
writer.putVarint(BigInt.from(zigzag).toUnsigned(32).toInt());
}