Documentation
¶
Index ¶
- Constants
- func Instantiate(ctx context.Context, r wazero.Runtime, s *Streams) error
- type Stream
- type Streams
- func (s *Streams) DeleteStream(handle uint32)
- func (s *Streams) GetStream(handle uint32) (stream Stream, found bool)
- func (s *Streams) NewInputStream(reader io.Reader) uint32
- func (s *Streams) NewOutputStream(writer io.Writer) uint32
- func (s *Streams) Read(handle uint32, data []byte) (int, bool, error)
- func (s *Streams) Write(handle uint32, data []byte) (int, error)
Constants ¶
View Source
const ModuleName = "streams"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Streams ¶
type Streams struct {
// contains filtered or unexported fields
}
func MakeStreams ¶
func MakeStreams() *Streams
func (*Streams) DeleteStream ¶
Click to show internal directories.
Click to hide internal directories.