Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for parseS3ChunkExtension (0.09 sec)

  1. cmd/streaming-signature-v4.go

    }
    
    // Constant s3 chunk encoding signature.
    const s3ChunkSignatureStr = ";chunk-signature="
    
    // parses3ChunkExtension removes any s3 specific chunk-extension from buf.
    // For example,
    //
    //	"10000;chunk-signature=..." => "10000", "chunk-signature=..."
    func parseS3ChunkExtension(buf []byte) ([]byte, []byte) {
    	buf = trimTrailingWhitespace(buf)
    	semi := bytes.Index(buf, []byte(s3ChunkSignatureStr))
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 16 23:13:47 UTC 2024
    - 18.2K bytes
    - Viewed (0)
Back to top