func (b *bufioW) AppendBulk(p []byte) {
	//t := time.Now()
	b.mu.Lock()
	b.appendSize('$', int64(len(p)))
	//b.buf = append(b.buf, p...)
	b.buf = AppendByte(b.buf, p...)
	b.buf = append(b.buf, binCRLF...)
	b.mu.Unlock()
	//fmt.Println("appendBulk finished, buf len is", len(b.buf), "appendBulk time is ", time.Since(t))
}
// AppendBulk appends bulk bytes to the output buffer
AppendBulk appends bulk bytes to the output buffer
// AppendBulk appends bulk bytes to the output buffer
func (b *bufioW) AppendBulk(p []byte) {
	b.mu.Lock()
	b.appendSize('$', int64(len(p)))
	b.buf = AppendByte(b.buf, p...)
	b.buf = append(b.buf, binCRLF...)
	b.mu.Unlock()
}
func ( b * bufioW ) AppendBulk ( p [ ] byte ) { b . mu . Lock ( ) b . appendSize ( '$' , int64 ( len ( p ) ) ) b . buf = AppendByte ( b . buf , p ... ) b . buf = append ( b . buf , binCRLF ... ) b . mu . Unlock ( ) }
AppendBulk appends bulk bytes to the output buffer
AppendBulk appends bulk bytes to the output buffer
//t := time.Now() //b.buf = append(b.buf, p...) //fmt.Println("appendBulk finished, buf len is", len(b.buf), "appendBulk time is ", time.Since(t))