function writeInteger(bufferWriter, value) {
  const string = value >= 0 ? `${value}+` : `${-value}-`;
  bufferWriter.writeString(string);
}
@param {import('./buffer-writer.js').BufferWriter} bufferWriter
@param {bigint} value