MCPcopy Create free account
hub / github.com/github/copilot-sdk / writeBinary

Method writeBinary

go/copilot_request_handler.go:769–771  ·  view source on GitHub ↗
(data []byte)

Source from the content-addressed store, hash-verified

767}
768
769func (s *responseSink) writeBinary(data []byte) error {
770 return s.writeRaw(base64.StdEncoding.EncodeToString(data), true)
771}
772
773func (s *responseSink) writeRaw(data string, binary bool) error {
774 s.exchange.mu.Lock()

Callers 1

SendBinaryMethod · 0.80

Calls 1

writeRawMethod · 0.95

Tested by

no test coverage detected