(p []byte)
| 108 | } |
| 109 | |
| 110 | func DecodeFromBytes(p []byte) (*Resp, error) { |
| 111 | return NewDecoder(bytes.NewReader(p)).Decode() |
| 112 | } |
| 113 | |
| 114 | func DecodeMultiBulkFromBytes(p []byte) ([]*Resp, error) { |
| 115 | return NewDecoder(bytes.NewReader(p)).DecodeMultiBulk() |