package mem

import "github.com/segmentio/asm/mem"

Index

Functions

func Blend

func Blend(dst []byte, src []byte) int

Blend copies the one-bits of src to dst, returning the number of bytes written.

func ContainsByte

func ContainsByte(haystack []byte, needle byte) bool

func Copy

func Copy(dst []byte, src []byte) int

Copy copies src to dst, returning the number of bytes written.

func Mask

func Mask(dst []byte, src []byte) int

Mask set bits of dst to zero and copies the one-bits of src to dst, returning the number of bytes written.

Source Files

blend.go blend_amd64.go contains.go contains_amd64.go copy.go copy_amd64.go mask.go mask_amd64.go mem.go

Version
v0.2.0
Published
Jun 4, 2021
Platform
linux/amd64
Imports
2 packages
Last checked
1 minute ago

Tools for package owners.