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