go-rfc2616/sp/byte.go

9 lines
211 B
Go
Raw Normal View History

2023-12-06 15:52:33 +00:00
package sp
// ByteIsSpacing return whether the byte is a 'SP' (spacing) character, as defined by IETF RFC-2616.
//
// SP = <US-ASCII SP, space (32)>
func ByteIsSpacing(value byte) bool {
return ' ' == value
}