From d52ed8ce1dd299a1dc27c22b0dac6d932b16d6e5 Mon Sep 17 00:00:00 2001 From: Charles Iliya Krempeaux Date: Sat, 7 Oct 2023 01:02:03 -0700 Subject: [PATCH] initial commits --- pctencoded.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pctencoded.go b/pctencoded.go index 1fc529b..657f25c 100644 --- a/pctencoded.go +++ b/pctencoded.go @@ -6,6 +6,10 @@ import ( "sourcecode.social/reiver/go-erorr" ) +func IsPctEncodedPrefix(r rune) bool { + return '%' == r +} + func ReadPctEncodedByte(reader io.Reader) (byte, error) { if nil == reader { return 0, errNilReader