CodePudding user response:
Is this kind of situation, can only be reconstructed, you use this thread from rxBuf tail is assembled to StringBuffer object in the tail, and then another thread from the StringBuffer object head processing, processed to remove, or this object will be more and more big, will lead to abnormal program,