package mem
import "github.com/segmentio/asm/mem"
Index ¶
- func Blend(dst []byte, src []byte) int
- func ContainsByte(haystack []byte, needle byte) bool
- func Copy(dst []byte, src []byte) int
- func Mask(dst []byte, src []byte) int
Functions ¶
func Blend ¶
Blend copies the one-bits of src to dst, returning the number of bytes written.
func ContainsByte ¶
func Copy ¶
Copy copies src to dst, returning the number of bytes written.
func Mask ¶
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
- darwin/amd64
- Imports
- 2 packages
- Last checked
- 1 hour ago –
Tools for package owners.