(t uint32)
| 545 | } |
| 546 | |
| 547 | func (b *bufWriter) writeTrigram(t uint32) { |
| 548 | if cap(b.buf)-len(b.buf) < 3 { |
| 549 | b.flush() |
| 550 | } |
| 551 | b.buf = append(b.buf, byte(t>>16), byte(t>>8), byte(t)) |
| 552 | } |
| 553 | |
| 554 | func (b *bufWriter) writeUint32(x uint32) { |
| 555 | if cap(b.buf)-len(b.buf) < 4 { |
no test coverage detected