MCPcopy Create free account
hub / github.com/BryanMwangi/pine / Write

Method Write

pine.go:756–759  ·  view source on GitHub ↗
(data []byte)

Source from the content-addressed store, hash-verified

754}
755
756func (rw *responseWriterWrapper) Write(data []byte) (int, error) {
757 rw.body = append(rw.body, data...)
758 return rw.ResponseWriter.Write(data)
759}
760
761func (rw *responseWriterWrapper) BodyLen() int {
762 return len(rw.body)

Callers 3

JSONMethod · 0.45
SendStringMethod · 0.45
RenderMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected