ffi-bitmask

bitmask support for ffi