common

package
v2.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2019 License: MIT Imports: 0 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EscapeBytes

func EscapeBytes(value string) string

EscapeBytes adds a backslash to \, ], " characters.

func RemoveBytes

func RemoveBytes(data []byte, positions []int, offset int) []byte

RemoveBytes removes byte at given positions from data byte slice, starting from the given offset.

func UnsafeUTF8DecimalCodePointsToInt

func UnsafeUTF8DecimalCodePointsToInt(chars []uint8) int

UnsafeUTF8DecimalCodePointsToInt converts a slice containing a series of UTF-8 decimal code points into their integer rapresentation.

It assumes input code points are in the range 48-57. Returns a pointer since an empty slice is equal to nil and not to the zero value of the codomain (ie., `int`).

Types

This section is empty.

Jump to

Keyboard shortcuts

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