Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for BigEndian (0.14 sec)

  1. src/net/http/h2_bundle.go

    // The index must be >= 0 and less than f.NumSettings().
    func (f *http2SettingsFrame) Setting(i int) http2Setting {
    	buf := f.p
    	return http2Setting{
    		ID:  http2SettingID(binary.BigEndian.Uint16(buf[i*6 : i*6+2])),
    		Val: binary.BigEndian.Uint32(buf[i*6+2 : i*6+6]),
    	}
    }
    
    func (f *http2SettingsFrame) NumSettings() int { return len(f.p) / 6 }
    
    // HasDuplicates reports whether f contains any duplicate setting IDs.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 364.1K bytes
    - Viewed (0)
Back to top