initial commits
parent
63e3bc4355
commit
d52ed8ce1d
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue