(v []byte)
| 265 | } |
| 266 | |
| 267 | func (w *compactWriter) WriteBytes(v []byte) error { |
| 268 | if err := w.WriteLength(len(v)); err != nil { |
| 269 | return err |
| 270 | } |
| 271 | return w.binary.write(v) |
| 272 | } |
| 273 | |
| 274 | func (w *compactWriter) WriteString(v string) error { |
| 275 | if err := w.WriteLength(len(v)); err != nil { |
nothing calls this directly
no test coverage detected