We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 233855c commit 34c4c25Copy full SHA for 34c4c25
codec2talkie/src/main/java/com/radio/codec2talkie/tools/TextTools.java
@@ -45,6 +45,7 @@ public static String getString(ByteBuffer byteBuffer) {
45
while (byteBuffer.hasRemaining()) {
46
byte b = byteBuffer.get();
47
char c = charset.decode(ByteBuffer.wrap(new byte[]{b})).toString().charAt(0);
48
+ if (c == '\r') continue;
49
if (c == '\n') {
50
break;
51
}
0 commit comments