MCPcopy Create free account
hub / github.com/XmirrorSecurity/OpenSCA-cli / savedOffset

Method savedOffset

opensca/sca/java/xml/xml.go:940–946  ·  view source on GitHub ↗

Return saved offset. If we did ungetc (nextByte >= 0), have to back up one.

()

Source from the content-addressed store, hash-verified

938// Return saved offset.
939// If we did ungetc (nextByte >= 0), have to back up one.
940func (d *Decoder) savedOffset() int {
941 n := d.saved.Len()
942 if d.nextByte >= 0 {
943 n--
944 }
945 return n
946}
947
948// Must read a single byte.
949// If there is no byte to read,

Callers 1

unmarshalMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected