MCPcopy
hub / github.com/coder/websocket / Read

Method Read

internal/util/util.go:13–15  ·  view source on GitHub ↗
(p []byte)

Source from the content-addressed store, hash-verified

11type ReaderFunc func(p []byte) (int, error)
12
13func (f ReaderFunc) Read(p []byte) (int, error) {
14 return f(p)
15}

Callers 4

BytesFunction · 0.45
EchoFunction · 0.45
nextMessageMethod · 0.45
randStringFunction · 0.45

Calls

no outgoing calls

Tested by 2

nextMessageMethod · 0.36
randStringFunction · 0.36