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

Method space

opensca/sca/java/xml/xml.go:881–894  ·  view source on GitHub ↗

Skip spaces if any

()

Source from the content-addressed store, hash-verified

879
880// Skip spaces if any
881func (d *Decoder) space() {
882 for {
883 b, ok := d.getc()
884 if !ok {
885 return
886 }
887 switch b {
888 case ' ', '\r', '\n', '\t':
889 default:
890 d.ungetc(b)
891 return
892 }
893 }
894}
895
896// Read a single byte.
897// If there is no byte to read, return ok==false

Callers 1

rawTokenMethod · 0.95

Calls 2

getcMethod · 0.95
ungetcMethod · 0.95

Tested by

no test coverage detected