chunk writes a chunk of body data to the chunk buffer. only for writing static structure and not dynamic values.
(b string)
| 272 | // |
| 273 | // structure and not dynamic values. |
| 274 | func (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 |
| 279 | func (e *StructEncoder) flunk() { |
no test coverage detected