For a TCP connection, each side keeps track of how much data the other side is capable of receiving into its buffers. This is called the window, and the TCP header has a field for reporting the window to the other end. The window size/sequence numbers are measured in octets (8-bit bytes).
You can think of the window as continously sliding to the right, as the sequence numbers increase. If the OperatingSystem has more space available for buffering packets, the right-hand-side of the window will increase faster than the left-hand-side and the window becomes wider. If the left-hand-side of the window increases faster, then the window will shrink.
kernel: TCP: Treason uncloaked! Peer 22.214.171.124:62710/80 shrinks window 2077733939:2077733940. Repaired.