MCPcopy
hub / github.com/minio/minio-go / PayloadLen

Method PayloadLen

api-select.go:617–619  ·  view source on GitHub ↗

PayloadLen is a function that calculates the length of the payload.

()

Source from the content-addressed store, hash-verified

615
616// PayloadLen is a function that calculates the length of the payload.
617func (p preludeInfo) PayloadLen() int64 {
618 return int64(p.totalLen - p.headerLen - 16)
619}
620
621// processPrelude is the function that reads the 12 bytes of the prelude and
622// ensures the CRC is correct while also extracting relevant information into

Callers 1

startMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected