Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for bts (0.1 sec)

  1. internal/grid/connection.go

    		len64 = int64(^(uint64(0)) >> 1)
    	)
    
    	bts := ww.tmp[:]
    	if f.Header.Fin {
    		bts[0] |= bit0
    	}
    	bts[0] |= f.Header.Rsv << 4
    	bts[0] |= byte(f.Header.OpCode)
    
    	var n int
    	switch {
    	case f.Header.Length <= len7:
    		bts[1] = byte(f.Header.Length)
    		n = 2
    
    	case f.Header.Length <= len16:
    		bts[1] = 126
    		binary.BigEndian.PutUint16(bts[2:4], uint16(f.Header.Length))
    		n = 4
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 42.6K bytes
    - Viewed (0)
Back to top