You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
"use strict";
|
|
|
|
// FIXME: Replace with standardized version? May have performance impact since the value size is no longer hardcoded to 1 byte
|
|
module.exports = function invertBits1Byte(value) {
|
|
// Note that this is bit inversion for *unsigned* integers
|
|
return 255 - value;
|
|
};
|