UNPKG

@stellar/stellar-sdk

Version:

A library for working with the Stellar network, including communication with the Horizon and Soroban RPC servers.

32 lines (28 loc) 1.13 kB
'use strict'; require('../../node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/int.js'); require('../../node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/hyper.js'); require('../../node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/unsigned-int.js'); require('../../node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/unsigned-hyper.js'); var largeInt = require('../../node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/large-int.js'); require('../../node_modules/.pnpm/@stellar_js-xdr@4.0.0/node_modules/@stellar/js-xdr/src/xdr-type.js'); require('buffer'); class Int256 extends largeInt.LargeInt { /** * Construct a signed 256-bit integer that can be XDR-encoded. * * @param 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(); exports.Int256 = Int256; //# sourceMappingURL=int256.js.map