Help us shape the future of Go! Take the 2026 Go Developer Survey

cacheint

package
v0.5.3 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package cacheint owns the canonical signed-integer cache representation.

Index

Constants

View Source
const MaxBytes = 20

MaxBytes includes the sign of the minimum signed 64-bit value.

Variables

This section is empty.

Functions

func Add

func Add(value, delta int64) (int64, error)

func Decode

func Decode(data []byte) (int64, error)

func Encode

func Encode(value int64) []byte

Types

This section is empty.

Jump to

Keyboard shortcuts

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