Skip to content

ReclaimSoftware/RSBitmask

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A simple bitmask library

Build Status

typedef struct {
  uint64_t capacityBits;
  uint8_t *data;
} RSBitmask;

RSBitmask*  RSBitmask_create(uint64_t capacityBits);
void        RSBitmask_free(RSBitmask *bitmask);

int         RSBitmask_get(RSBitmask *bitmask, uint64_t bitIndex);
void        RSBitmask_set(RSBitmask *bitmask, uint64_t bitIndex, int value);

About

A simple bitmask library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published