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