Crate bitrange_plugin [] [src]

Functions

proc_default_mask

Return the default mask of a format This are all the fields that are set to either 0 or 1

proc_default_value

Returns the default value of a format This is a value with 1 for every 1 in the format

proc_mask

Create a mask based on a given format and a character This will map all the bits that match the given character, to 1 All other bits will be set to 0

proc_offset

Return the offset of a given character in a format This is the amount of least-significant bits in the proc_mask that are 0