From 7fa9ad1424b18adfd282a1e605f755a5f5770564 Mon Sep 17 00:00:00 2001 From: Masaaki Goshima Date: Fri, 14 Aug 2020 18:26:42 +0900 Subject: [PATCH] Refactor --- decode_stream.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/decode_stream.go b/decode_stream.go index b714f9f..962adc0 100644 --- a/decode_stream.go +++ b/decode_stream.go @@ -68,7 +68,7 @@ func (s *stream) read() bool { s.allRead = true } // extend buffer (2) is protect ( s.cursor++ x2 ) - // e.g.) line 85 in decode_interface.go + // e.g.) decodeEscapeString const extendBufLength = int64(2) totalSize := s.length + int64(n) + extendBufLength