Download the PHP package asolomatin/php-big-bit-mask without Composer
On this page you can find all versions of the php package asolomatin/php-big-bit-mask. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download asolomatin/php-big-bit-mask
More information about asolomatin/php-big-bit-mask
Files in asolomatin/php-big-bit-mask
Download asolomatin/php-big-bit-mask
More information about asolomatin/php-big-bit-mask
Files in asolomatin/php-big-bit-mask
Vendor asolomatin
Package php-big-bit-mask
Short Description Bitmask compatible with JavaScript big-bit-mask - the bitmask serializable into a base64-like, url-safe string.
License MIT
Homepage https://github.com/ASolomatin/php-big-bit-mask
Package php-big-bit-mask
Short Description Bitmask compatible with JavaScript big-bit-mask - the bitmask serializable into a base64-like, url-safe string.
License MIT
Homepage https://github.com/ASolomatin/php-big-bit-mask
Keywords bitmap
Please rate this library. Is it a good library?
Informations about the package php-big-bit-mask
PHP big bit mask
When bits is not enough ...
This library implements an fully compatible PHP version of big-bit-mask - the bitmask serializable into a base64-like, url-safe string.
Other platform compatibility
Platform | Repository | Package |
---|---|---|
JavaScript / TypeScript | big-bit-mask | NPM |
.NET | BigBitMask.NET | NuGet |
Install
Usage
Namespace
What next?
Now we can create new empty bitmask
or load it from string
output: 010000001000111011111110011000111111000001001000011111100111010111
Then we can change some bits and get back our string representation
output: iE3dG_gE-5
But what if I want to have a named flags?
You can extend BitMask class with your model:
output: gG
License
Copyright (C) 2020 Aleksej Solomatin
All versions of php-big-bit-mask with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.3.0
The package asolomatin/php-big-bit-mask contains the following files
Loading the files please wait ....