UNPKG

@perma/map

Version:

Immutable hash maps implemented as hash array papped tries

15 lines 866 B
export { API }; export function empty(size?: API.Uint32): number; export function from(bits: API.Uint32[], size?: number | undefined): number; export function size(_bitField: API.Uint32): number; export function popcount(bitField: API.Uint32, index?: API.Uint32): number; export function set(bitField: API.Uint32, index: API.Uint32): number; export function unset(bitField: API.Uint32, index: API.Uint32): number; export function get(bitField: API.Uint32, index: API.Uint32): boolean; export function bitCount(bitField: API.Uint32): number; export function and(left: API.Uint32, right: API.Uint32): API.Uint32; export function or(left: API.Uint32, right: API.Uint32): API.Uint32; export function toBytes(bitField: API.Uint32): Uint8Array; export function fromBytes(bytes: Uint8Array): API.Uint32; import * as API from "./api.js"; //# sourceMappingURL=Uint32.d.ts.map