func (s String) Encode() ([]byte, error) {
	return append(encodeHeaderSequence(0x4, len(s)), []byte(s)...), nil
}
Encode encodes a String with the proper header.
package snmp
import (
	"bytes"
)
const (
	TypeInteger   = 0x02
	TypeString    = 0x04
	TypeNull      = 0x05
	TypeOID       = 0x06
	TypeSequence  = 0x30
	TypeIpAddress = 0x40
	TypeCounter   = 0x41
	TypeGauge     = 0x42
	TypeTimeTicks = 0x43
	TypeCounter64 = 0x46
	TypeNoSuchObject   = 0x80
	TypeNoSuchInstance = 0x81
	TypeEndOfMIBView   = 0x82
	TypeGetRequest     = 0xa0
	TypeGetNextRequest = 0xa1
	TypeGetResponse    = 0xa2
	TypeReport         = 0xa8
)
type DataType interface {
	Encode() ([]byte, error)
}
type String string