Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for packUint16 (0.19 sec)

  1. src/vendor/golang.org/x/net/dns/dnsmessage/message.go

    	return 0
    }
    
    // pack appends the wire format of the header to msg.
    func (h *header) pack(msg []byte) []byte {
    	msg = packUint16(msg, h.id)
    	msg = packUint16(msg, h.bits)
    	msg = packUint16(msg, h.questions)
    	msg = packUint16(msg, h.answers)
    	msg = packUint16(msg, h.authorities)
    	return packUint16(msg, h.additionals)
    }
    
    func (h *header) unpack(msg []byte, off int) (int, error) {
    	newOff := off
    	var err error
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Mar 09 00:09:40 UTC 2024
    - 69K bytes
    - Viewed (0)
Back to top