Skip to content

Commit c43c1c7

Browse files
committed
公众号:bugstack虫洞栈 | 自定义编码解码器,处理半包、粘包数据
1 parent a5b10fc commit c43c1c7

File tree

1 file changed

+2
-0
lines changed
  • itstack-demo-netty-1-09/src/test/java/org/itstack/demo/test

1 file changed

+2
-0
lines changed

itstack-demo-netty-1-09/src/test/java/org/itstack/demo/test/ApiTest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ public class ApiTest {
1717

1818
public static void main(String[] args) {
1919

20+
System.out.println("hi 微信公众号:bugstack虫洞栈");
21+
2022
ByteBuf in = Unpooled.buffer(5);
2123
byte[] bytes = {2, 50, 104, 105, 3};
2224
in.writeBytes(bytes);

0 commit comments

Comments
 (0)