Files
zap-es/test/fixtures/bigintbag.ts
Victor BerchetGitHubrenovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
5c89df8098 chore(deps): update all non-major dependencies (#63)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-01-15 21:05:43 +01:00

38 lines
1.2 KiB
TypeScript

// This file has been automatically generated by capnp-es.
import * as $ from "capnp-es";
export const _capnpFileId = 0xe3fca095c1cb2e87n;
export class BigIntBag extends $.Struct {
static readonly _capnp = {
displayName: "BigIntBag",
id: "86748469b18e4943",
size: new $.ObjectSize(32, 0),
defaultDefaultSigned: $.getInt64Mask(-0xdb4da5f7ef412b1n),
defaultDefaultUnsigned: $.getUint64Mask(0xdb4da5f7ef412b1n)
};
get signed(): bigint {
return $.utils.getInt64(0, this);
}
set signed(value: bigint) {
$.utils.setInt64(0, value, this);
}
get unsigned(): bigint {
return $.utils.getUint64(8, this);
}
set unsigned(value: bigint) {
$.utils.setUint64(8, value, this);
}
get defaultSigned(): bigint {
return $.utils.getInt64(16, this, BigIntBag._capnp.defaultDefaultSigned);
}
set defaultSigned(value: bigint) {
$.utils.setInt64(16, value, this, BigIntBag._capnp.defaultDefaultSigned);
}
get defaultUnsigned(): bigint {
return $.utils.getUint64(24, this, BigIntBag._capnp.defaultDefaultUnsigned);
}
set defaultUnsigned(value: bigint) {
$.utils.setUint64(24, value, this, BigIntBag._capnp.defaultDefaultUnsigned);
}
toString(): string { return "BigIntBag_" + super.toString(); }
}