MCPcopy Create free account
hub / github.com/bet365/jingo / chunk

Method chunk

structencoder.go:274–276  ·  view source on GitHub ↗

chunk writes a chunk of body data to the chunk buffer. only for writing static structure and not dynamic values.

(b string)

Source from the content-addressed store, hash-verified

272//
273// structure and not dynamic values.
274func (e *StructEncoder) chunk(b string) {
275 e.cb.Write([]byte(b))
276}
277
278// flunk flushes whatever chunk data we've got buffered into a single instruction
279func (e *StructEncoder) flunk() {

Callers 4

NewStructEncoderFunction · 0.95
optInstrStringerMethod · 0.95
optInstrEscapeMethod · 0.95
valueInstMethod · 0.95

Calls 1

WriteMethod · 0.80

Tested by

no test coverage detected