diff options
Diffstat (limited to 'src/org/traccar/protocol/JpKorjarFrameDecoder.java')
-rw-r--r-- | src/org/traccar/protocol/JpKorjarFrameDecoder.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/protocol/JpKorjarFrameDecoder.java b/src/org/traccar/protocol/JpKorjarFrameDecoder.java index 9a0158230..0eb65c8ef 100644 --- a/src/org/traccar/protocol/JpKorjarFrameDecoder.java +++ b/src/org/traccar/protocol/JpKorjarFrameDecoder.java @@ -41,7 +41,7 @@ public class JpKorjarFrameDecoder extends BaseFrameDecoder { return null; } - return buf.readBytes(endIndex + 1); + return buf.readRetainedSlice(endIndex + 1); } } |