check

package
v2.7.0 Latest Latest
Warning

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

Go to latest
Published: Feb 15, 2023 License: BSD-3-Clause Imports: 1 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BytesRange

func BytesRange(b []byte, startIdx, endIdx int) error

BytesRange checks if starting index `startIdx`, ending index `endIdx` and len(b) passes sanity checks: * 0 <= startIdx * startIdx <= endIdx * endIdx < len(b)

Types

This section is empty.

Jump to

Keyboard shortcuts

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