MCPcopy Create free account
hub / github.com/imroc/req / isASCIILetter

Function isASCIILetter

textproto_reader.go:19–22  ·  view source on GitHub ↗
(b byte)

Source from the content-addressed store, hash-verified

17)
18
19func isASCIILetter(b byte) bool {
20 b |= 0x20 // make lower case
21 return 'a' <= b && b <= 'z'
22}
23
24// TODO: This should be a distinguishable error (ErrMessageTooLarge)
25// to allow mime/multipart to detect it.

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…