(x int64)
| 68 | } |
| 69 | |
| 70 | func (e *Encbuf) PutVarint64(x int64) { |
| 71 | n := binary.PutVarint(e.C[:], x) |
| 72 | e.B = append(e.B, e.C[:n]...) |
| 73 | } |
| 74 | |
| 75 | // PutUvarintStr writes a string to the buffer prefixed by its varint length (in bytes!). |
| 76 | func (e *Encbuf) PutUvarintStr(s string) { |
no outgoing calls
no test coverage detected