overview

bitfield bitfield-package

bitfield: Handle Bitfields to record Meta Data

Main workflow

These functions make up the core of this package

bf_registry()

Initiate a new registry

bf_protocol()

Define a new bit-flag protocol

bf_map()

Build a bit flag

bf_encode()

Encode bit flags into a bitfield

bf_decode()

Decode (unpack) a bitfield

bf_standards()

Handle community standard protocols

classes

new classes that come with this package

registry-class registry

Bit registry class (S4) and methods

show(<registry>)

Print registry in the console

helpers

.getDependencies()

Identify packages to custom functions

.makeEncoding()

Determine encoding

.rast()

Extract values and metadata from terra::SpatRaster

.toBin()

Make a binary value from an integer

.toDec()

Make an integer from a binary value

.updateMD5()

Determine and write MD5 sum

.validateToken()

Validate a github token

.validateProtocol()

Validate a bit-flag protocol

data

bf_tbl

Example table

bf_pcl

Internal bit-flag protocols