initial commits

master
Charles Iliya Krempeaux 2023-10-07 01:02:03 -07:00
parent 63e3bc4355
commit d52ed8ce1d
1 changed files with 4 additions and 0 deletions

View File

@ -6,6 +6,10 @@ import (
"sourcecode.social/reiver/go-erorr" "sourcecode.social/reiver/go-erorr"
) )
func IsPctEncodedPrefix(r rune) bool {
return '%' == r
}
func ReadPctEncodedByte(reader io.Reader) (byte, error) { func ReadPctEncodedByte(reader io.Reader) (byte, error) {
if nil == reader { if nil == reader {
return 0, errNilReader return 0, errNilReader