MCPcopy Index your code
hub / github.com/github/copilot-sdk / decodeChunkData

Function decodeChunkData

go/copilot_request_handler.go:709–714  ·  view source on GitHub ↗
(data string, binary bool)

Source from the content-addressed store, hash-verified

707}
708
709func decodeChunkData(data string, binary bool) ([]byte, error) {
710 if binary {
711 return base64.StdEncoding.DecodeString(data)
712 }
713 return []byte(data), nil
714}
715
716// responseSink writes response frames to the runtime via RPC.
717type responseSink struct {

Callers 1

routeChunkMethod · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…