func (p SideBandReportPacket) Bytes() []byte {
	return p
}
Bytes returns the payload.
package gitprotocolio
import (
	"fmt"
)
type BytePayloadPacket interface {
	Packet
	Bytes() []byte
}
type SideBandMainPacket []byte
func (p SideBandMainPacket) EncodeToPktLine() []byte {
	sz := len(p)
	if sz > 0xFFFF-5 {
		panic("content too large")
	}
	return append([]byte(fmt.Sprintf("%04x%c", sz+5, 1)), p...)
}
func (p SideBandMainPacket) Bytes() []byte {
	return p
}
type SideBandReportPacket []byte
func (p SideBandReportPacket) EncodeToPktLine() []byte {
	sz := len(p)
	if sz > 0xFFFF-5 {
		panic("content too large")
	}
	return append([]byte(fmt.Sprintf("%04x%c", sz+5, 2)), p...)
}