MCPcopy Index your code
hub / github.com/XmirrorSecurity/OpenSCA-cli / ungetc

Method ungetc

opensca/sca/java/xml/xml.go:962–968  ·  view source on GitHub ↗

Unread a single byte.

(b byte)

Source from the content-addressed store, hash-verified

960
961// Unread a single byte.
962func (d *Decoder) ungetc(b byte) {
963 if b == '\n' {
964 d.line--
965 }
966 d.nextByte = int(b)
967 d.offset--
968}
969
970var entity = map[string]rune{
971 "lt": '<',

Callers 5

rawTokenMethod · 0.95
attrvalMethod · 0.95
spaceMethod · 0.95
textMethod · 0.95
readNameMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected