MCPcopy Index your code
hub / github.com/dunglas/httpsfv / scanWhileSp

Method scanWhileSp

decode.go:38–46  ·  view source on GitHub ↗

scanWhileSp consumes spaces.

()

Source from the content-addressed store, hash-verified

36
37// scanWhileSp consumes spaces.
38func (s *scanner) scanWhileSp() {
39 for !s.eof() {
40 if s.data[s.off] != ' ' {
41 return
42 }
43
44 s.off++
45 }
46}
47
48// scanWhileOWS consumes optional white space (OWS) characters.
49func (s *scanner) scanWhileOWS() {

Callers 5

UnmarshalDictionaryFunction · 0.95
UnmarshalItemFunction · 0.95
UnmarshalListFunction · 0.95
parseParamsFunction · 0.80
parseInnerListFunction · 0.80

Calls 1

eofMethod · 0.95

Tested by

no test coverage detected