utils

package
v0.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 23, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AppendToSlice

func AppendToSlice(slice []byte, endBit uint, appendThis []byte) error

usage conditions : 1. slice must be large enough 2. every bit after endBit should be zero (no reset is performed in the function)

func FromIPv6

func FromIPv6(ipv6 [16]byte, startBit uint, length uint) ([]byte, error)

ipv6: Address to extract bits from startBit: offset in bits length: length of result in Bytes

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL