(b []byte)
| 71 | } |
| 72 | |
| 73 | func (wb *writeBuffer) writeBytes(b []byte) { |
| 74 | n := len(b) |
| 75 | if b == nil { |
| 76 | n = -1 |
| 77 | } |
| 78 | wb.writeInt32(int32(n)) |
| 79 | wb.Write(b) |
| 80 | } |
| 81 | |
| 82 | func (wb *writeBuffer) writeVarBytes(b []byte) { |
| 83 | if b != nil { |
no test coverage detected