cacheint

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 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