EncodeForwardIndex implements the JSON interface.
(buf []byte, dir encoding.Direction)
| 748 | |
| 749 | // EncodeForwardIndex implements the JSON interface. |
| 750 | func (j *jsonEncoded) EncodeForwardIndex(buf []byte, dir encoding.Direction) ([]byte, error) { |
| 751 | decoded, err := j.decode() |
| 752 | if err != nil { |
| 753 | return nil, err |
| 754 | } |
| 755 | return decoded.EncodeForwardIndex(buf, dir) |
| 756 | } |
| 757 | |
| 758 | // EncodeInvertedIndexKeys implements the JSON interface. |
| 759 | func (j *jsonEncoded) encodeInvertedIndexKeys(b []byte) ([][]byte, error) { |
nothing calls this directly
no test coverage detected