Socket
Book a DemoInstallSign in
Socket

ignitelabs.net/git/tiny.git

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ignitelabs.net/git/tiny.git

v1.3.3
Go
Version published
Created
Source

Tiny

A very simplistic helper package for working at the bit level in Go.

The goal of Tiny is to allow easy bit level manipulation of odd-length binary information. Synthesizing random strings of binary data, for example, is not a common operation - but one that the language is quite good at.

The central pillar of Tiny is the Measure object. This represents a container of bytes and bits that can easily be manipulated.

In addition to this, a suite of constants and helper functions to work with SubByte numbers is included. To make it easier, I fleshed out the complete range of binary ranges with fitting terms.

WidthRangeName
10-1Bit
20-3Crumb
30-7Note
40-15Nibble
50-31Flake
60-63Morsel
70-127Shred

FAQs

Package last updated on 16 Feb 2025

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

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.