byteutils

package
v0.10.1 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2015 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Overview

Package byteutils probvides helpers for working with byte slices

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cut

func Cut(a []byte, from, to int) []byte

Cut elements from slice for a given range

func Insert

func Insert(a []byte, i int, b []byte) []byte

Insert new slice at specified position

func Replace

func Replace(a []byte, from, to int, new []byte) []byte

Replace function unlike bytes.Replace allows you to specify range

Types

This section is empty.

Jump to

Keyboard shortcuts

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