js-stellar-base/src/numbers/int256.js

import { LargeInt } from '@stellar/js-xdr';

export class Int256 extends LargeInt {
  /**
   * Construct a signed 256-bit integer that can be XDR-encoded.
   *
   * @param  {Array<number|bigint|string>}  args - one or more slices to encode
   *     in big-endian format (i.e. earlier elements are higher bits)
   */
  constructor(...args) {
    super(args);
  }

  get unsigned() {
    return false;
  }

  get size() {
    return 256;
  }
}

Int256.defineIntBoundaries();