MCPcopy Index your code
hub / github.com/andeya/erpc / Write

Method Write

socket/socket.go:84–84  ·  view source on GitHub ↗

Write writes data to the connection. Write can be made to time out and return an Error with Timeout() == true after a fixed time limit; see SetDeadline and SetWriteDeadline.

(b []byte)

Source from the content-addressed store, hash-verified

82 // Write can be made to time out and return an Error with Timeout() == true
83 // after a fixed time limit; see SetDeadline and SetWriteDeadline.
84 Write(b []byte) (n int, err error)
85 // Close closes the connection socket.
86 // Any blocked Read or Write operations will be unblocked and return errors.
87 Close() error

Callers 15

log.goFile · 0.65
WriteMethod · 0.65
WriteMethod · 0.65
ToJSONStrFunction · 0.65
WriteToMethod · 0.65
writeHexIntFunction · 0.65
WriteMethod · 0.65
PackMethod · 0.65
PackMethod · 0.65
packRequestMethod · 0.65
packResponseMethod · 0.65
readLineMethod · 0.65

Calls

no outgoing calls

Tested by 6

testHybiFrameFunction · 0.52
WritePingMethod · 0.52
ctrlAndDataServerFunction · 0.52
TestEchoFunction · 0.52
TestSmallBufferFunction · 0.52
TestCtrlAndDataFunction · 0.52