...

Package bytesource

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

Overview ▾

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