func (b *bufioW) AppendInt(n int64) {
	b.mu.Lock()
	switch n {
	case 0:
		b.buf = append(b.buf, binZERO...)
	case 1:
		b.buf = append(b.buf, binONE...)
	default:
		b.buf = append(b.buf, ':')
		b.buf = append(b.buf, strconv.FormatInt(n, 10)...)
		b.buf = append(b.buf, binCRLF...)
	}
	b.mu.Unlock()
}
// AppendInt appends a numeric response to the output buffer
AppendInt appends a numeric response to the output buffer
// AppendInt appends a numeric response to the output buffer
func (b *bufioW) AppendInt(n int64) {
	b.mu.Lock()
	switch n {
	case 0:
		b.buf = append(b.buf, binZERO...)
	case 1:
		b.buf = append(b.buf, binONE...)
	default:
		b.buf = append(b.buf, ':')
		b.buf = append(b.buf, strconv.FormatInt(n, 10)...)
		b.buf = append(b.buf, binCRLF...)
	}
	b.mu.Unlock()
}
func ( b * bufioW ) AppendInt ( n int64 ) { b . mu . Lock ( ) switch n { case 0 : b . buf = append ( b . buf , binZERO ... ) case 1 : b . buf = append ( b . buf , binONE ... ) default : b . buf = append ( b . buf , ':' ) b . buf = append ( b . buf , strconv . FormatInt ( n , 10 ) ... ) b . buf = append ( b . buf , binCRLF ... ) } b . mu . Unlock ( ) }
AppendInt appends a numeric response to the output buffer
AppendInt appends a numeric response to the output buffer