package bytesource

import "github.com/AdaLogics/go-fuzz-headers/bytesource"

Index

Types

type ByteSource

type ByteSource struct {
	*bytes.Reader
	// contains filtered or unexported fields
}

func New

func New(input []byte) *ByteSource

New returns a new ByteSource from a given slice of bytes.

func (*ByteSource) Int63

func (s *ByteSource) Int63() int64

func (*ByteSource) Seed

func (s *ByteSource) Seed(seed int64)

func (*ByteSource) Uint64

func (s *ByteSource) Uint64() uint64

Source Files

bytesource.go

Version
v0.0.0-20240806141605-e8a1dd7889d6 (latest)
Published
Aug 6, 2024
Platform
js/wasm
Imports
4 packages
Last checked
2 hours ago

Tools for package owners.