Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for payloadLenForMsgLen (0.08 sec)

  1. internal/s3select/message.go

    func newRecordsMessage(payload []byte) []byte {
    	return genMessage(recordsHeader, payload)
    }
    
    // payloadLenForMsgLen computes the length of the payload in a record
    // message given the total length of the message.
    func payloadLenForMsgLen(messageLength int) int {
    	headerLength := len(recordsHeader)
    	payloadLength := messageLength - 4 - 4 - 4 - headerLength - 4
    	return payloadLength
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 30 15:26:43 UTC 2022
    - 15.2K bytes
    - Viewed (0)
Back to top