func (a *ReadArgs) SetSize(size int) *ReadArgs {
	a.Size = &size
	return a
}
SetSize sets the Size optional argument. Maximum number of bytes to
read (left upon the agent discretion if not specified).
package io
import (
	"github.com/mafredri/cdp/protocol/runtime"
)
type CloseArgs struct {
	Handle StreamHandle `json:"handle"`  
}
func NewCloseArgs(handle StreamHandle) *CloseArgs {
	args := new(CloseArgs)
	args.Handle = handle
	return args
}
type ReadArgs struct {
	Handle StreamHandle `json:"handle"`            
	Offset *int         `json:"offset,omitempty"`  
	Size   *int         `json:"size,omitempty"`    
}
func NewReadArgs(handle StreamHandle) *ReadArgs {
	args := new(ReadArgs)
	args.Handle = handle
	return args
}
func (a *ReadArgs) SetOffset(offset int) *ReadArgs {
	a.Offset = &offset
	return a
}