diff --git a/modules/tools-misc/src/main/java/com/wizzardo/tools/misc/UTF8.java b/modules/tools-misc/src/main/java/com/wizzardo/tools/misc/UTF8.java
index <HASH>..<HASH> 100644
--- a/modules/tools-misc/src/main/java/com/wizzardo/tools/misc/UTF8.java
+++ b/modules/tools-misc/src/main/java/com/wizzardo/tools/misc/UTF8.java
@@ -427,6 +427,10 @@ public class UTF8 {
 
             return this;
         }
+
+        public int charsDecoded() {
+            return charsOffset;
+        }
     }
 
     public static DecodeContext decode(byte[] bytes, int offset, int length, char[] chars, DecodeContext context) {
add charsDecoded method