Skip to content

API reference Obsidian.API

BitSet class

public sealed class BitSet

In Obsidian.API.

Constructors

public BitSet();

BitSet(long[])

public BitSet(long[] data);

A bit set over the given longs, bit 0 being the lowest bit of the first (Java's BitSet.valueOf).

Properties

public ReadOnlyMemory<long> DataStorage { get; }

Methods

public bool GetBit(int bitIndex);public void SetBit(int bitIndex, bool value);

On this page