docs: public static void writeBigInteger(BigInteger record, DataOutputView target) throws IOException {
  		// null value support
  		if (record == null) {
  			target.writeInt(0);
  			return;
  		}
  		// fast paths for 0, 1, 10
  		// only reference equality is checked because equals would be too expensive
  		else if (record == BigInteger.ZERO) {
  			target.writeInt(1);
  			return;
  		}
  		else if (record == BigInteger.ONE) {
  			target.writeInt(2);
  			return;
  		}
  		else if (record == BigInteger.TEN) {
  			target.writeInt(3);
  			return;
  		}
  		// default
  		final byte[] bytes = record.toByteArray();
  		// the length we write is offset by four, because null and short-paths for ZERO, ONE, and TEN
  		target.writeInt(bytes.length + 4);
  		target.write(bytes);
  	}