@protected int cst_encode_usize(BigInt raw) { // Codec=Cst (C-struct based), see doc to use other codecs return raw.toSigned(64).toInt(); }