Netty Source Code Analysis--Length Field Based Frame Decoder

This article mainly introduces the use of Length Field BasedFrameDecoder decoder custom protocol. Usually, the format of the protocol is as follows: Length Field BasedFrameDecoder is an important class for netty to solve the problem of unpacking and sticking. Its main structure is header+body structure. We only need to pass in the correct pa ...

Posted on Sun, 22 Sep 2019 21:05:34 -0700 by googlit

Qt Writing Custom Control 58-Histogram Symmetry

1. Preface This control is also not an original control. It comes from the code on the reference network. Symmetrical as its name implies, it divides the canvas into upper and lower parts, automatically draws the set value according to half the canvas height as the reference height, and then increases the dynamic transition effect, which is sim ...

Posted on Sun, 22 Sep 2019 17:49:46 -0700 by sundru

10 minutes to learn react basics quickly

Blog Text 9102, if you don't know react yet, I hope this article can help you quickly understand the basics of react.js. Create Project Use create-react-app Tools quickly create React SPA s. # Create Project yarn create react-app my-app cd my-app # Run program in development mode yarn start Initial project structure: my-app/ README.md no ...

Posted on Sun, 22 Sep 2019 09:12:04 -0700 by tekken00

Qt Writing Custom Control 55-Mobile Address Book

I. Preface In the previous several articles, the difficulty coefficient of the control is nearly 0, and there is even a suspicion of the number of controls. This time, we must have a strong control. The difficulty coefficient of this control ranks the top five among all the controls, and the amount of code is not small. The header files are 550 ...

Posted on Fri, 20 Sep 2019 08:02:14 -0700 by robert_gsfame

Data Structure--One-way Link List and One-way Circular Link List

Dynamic linked list: After studying arrays, it is found that the storage structure of arrays has some defects. That is to say, adding (inserting position), deleting and changing are inefficient, and the size of arrays is immutable. Next, I introduce a new data storage structure (linked list) which is di ...

Posted on Thu, 19 Sep 2019 05:39:05 -0700 by parms

Realization of User Registration Function 3

Realization of User Registration Function 3 Objective: 1. Photo Verification Code Verification 2. Realization of Short Message Verification Code Verification Function Applied technology: 1. Front-end: js (jQuery framework), Ajax (front-end and back-end interaction), and 2. Backend: django interface de ...

Posted on Thu, 19 Sep 2019 04:01:35 -0700 by seenu_vas80

Master Map Magnifier Scheme Based on Vue

This article was first published on the Front End Team Blog of the Government, Mining and Cloud: Master Map Magnifier Scheme Based on Vue Preface In e-commerce applications, you will inevitably encounter a scene where the commodity master map can achieve magnifying effect. There are not many Vue-based third-party packages available and they ca ...

Posted on Wed, 18 Sep 2019 19:22:32 -0700 by katie77

HQChart uses tutorial 1 - How to quickly create a K-line map page

HQChart uses tutorial 1 - How to quickly create a K-line map page Design sketch Introduction to HQChart Functions: Provide K-line, trend map, support Tongxin grammar indicators (Mac grammar), drawing tools, etc. Support PC-side pages, small programs, mobile pages.Address: https://github.com/jones2000/... demo page code The git download code cre ...

Posted on Wed, 18 Sep 2019 04:57:27 -0700 by pontiac007

Django project: 3. User login and logout function

User login and logout function I. Functional Requirement Analysis 1. Login and Exit Function Analysis Flow chart         function Login page Login function Exit function II. Login Page 1. Interface design Interface specification Category Explain Request method GET url definition /user/login/ ...

Posted on Tue, 17 Sep 2019 07:30:56 -0700 by steve55

Instant Voice Communication

Preface Recently, we are doing the function of instant voice chat, which is recorded in this blog. The client uses rtmp protocol to push and pull, and the server uses github open source red5. At present, when the network is stable, the delay is ...

Posted on Mon, 16 Sep 2019 23:15:10 -0700 by fragger