AppendInt8 converts the input []int8 to a string and appends the encoded string to the input byte slice.
(dst []byte, val int8)
| 95 | // AppendInt8 converts the input []int8 to a string and |
| 96 | // appends the encoded string to the input byte slice. |
| 97 | func (Encoder) AppendInt8(dst []byte, val int8) []byte { |
| 98 | return strconv.AppendInt(dst, int64(val), 10) |
| 99 | } |
| 100 | |
| 101 | // AppendInts8 encodes the input int8s to json and |
| 102 | // appends the encoded string list to the input byte slice. |