From 965bbcaed0ccaea97691433f9865b7fc1d151c04 Mon Sep 17 00:00:00 2001 From: jatin <84621253+h0x0er@users.noreply.github.com> Date: Thu, 9 Nov 2023 23:30:18 +0530 Subject: [PATCH] Refactored name --- utils.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils.go b/utils.go index a442fb7..2f1732f 100644 --- a/utils.go +++ b/utils.go @@ -8,7 +8,7 @@ import ( "golang.org/x/net/http2/hpack" ) -func BytesToHTTP2Frame(b []byte) (http2.Frame, error) { +func BytesToFrame(b []byte) (http2.Frame, error) { rd := bytes.NewReader(b) buf := bufio.NewReader(rd)