Debian Codegraph @

encoder.go

raw symbols SCIP
1 package apkparser
2
3 import (
4 "encoding/xml"
5 "errors"
6 )
7
8 // Return this error from EncodeToken to tell apkparser to finish parsing,
9 // to be used when you found the value you care about and don't need the rest.
10 var ErrEndParsing = errors.New("end manifest parsing")
11
12 // Encoder for writing the XML data. For example Encoder from encoding/xml matches this interface.
13 type ManifestEncoder interface {
14 EncodeToken(t xml.Token) error
15 Flush() error
16 }