MCPcopy Create free account
hub / github.com/UiPath/uipathcli / MemoryStream

Struct MemoryStream

utils/stream/memory_stream.go:14–17  ·  view source on GitHub ↗

The MemoryStream implements the stream interface using a simple byte array. The byte array length is used as the stream length. The name needs to be provided when initializing a new MemoryStream instance.

Source from the content-addressed store, hash-verified

12// The name needs to be provided when initializing a new MemoryStream
13// instance.
14type MemoryStream struct {
15 name string
16 data []byte
17}
18
19func (s MemoryStream) Name() string {
20 return s.name

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected