UNPKG

@perma/map

Version:

Immutable hash maps implemented as hash array papped tries

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