package tools

import "git.sr.ht/~sbinet/go-arrow/internal/testing/tools"

Index

Functions

func Bools

func Bools(v ...int) []bool

func IntsToBitsLSB

func IntsToBitsLSB(v ...int32) []byte

IntsToBitsLSB encodes ints as LSB 0 bit numbering per https://en.wikipedia.org/wiki/Bit_numbering#LSB_0_bit_numbering The low bit of each nibble is tested, therefore integers should be written as 8-digit hex numbers consisting of 1s or 0s.

IntsToBitsLSB(0x11001010) -> 0x35

Source Files

bits.go bool.go

Version
v0.3.0 (latest)
Published
Feb 17, 2025
Platform
linux/amd64
Imports
1 packages
Last checked
2 months ago

Tools for package owners.