🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

github.com/arl/bitstring

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/arl/bitstring

v0.1.0
Source
Go
Version published
Created
Source

go.dev reference Test Actions Status Go Report Card codecov

bitstring

Go bitstring library

Package bitstring implements an fixed-length bit string type and many bit string manipulation functions:

  • set/clear/flip a single bit
  • set/clear/flip a range of bits
  • swap or compare range of bits between 2 bitstrings
  • 8/16/32/64/n signed/unsigned to/from conversions
  • count ones/zeroes
  • gray code conversion methods
  • convert to big.Int
  • Copy/Clone methods

TODO:

  • RotateLeft/Right
  • Trailing/Leading zeroes/ones
  • improve documentation

FAQs

Package last updated on 20 May 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts