initial commits

master
Charles Iliya Krempeaux 2023-12-06 07:52:33 -08:00
parent 65d09cee0a
commit 6c94144485
4 changed files with 2200 additions and 0 deletions

8
sp/byte.go 100644
View File

@ -0,0 +1,8 @@
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
}

1092
sp/byte_test.go 100644

File diff suppressed because it is too large Load Diff

8
sp/rune.go 100644
View File

@ -0,0 +1,8 @@
package sp
// RuneIsSpacing return whether the rune is a 'SP' (spacing) character, as defined by IETF RFC-2616.
//
// SP = <US-ASCII SP, space (32)>
func RuneIsSpacing(value rune) bool {
return ' ' == value
}

1092
sp/rune_test.go 100644

File diff suppressed because it is too large Load Diff