[skip ci]Add comment for PayloadReader (#13486)

Signed-off-by: shaoyue.chen <shaoyue.chen@zilliz.com>
pull/13497/head
shaoyue 2021-12-16 09:37:22 +08:00 committed by GitHub
parent 7b38d4522f
commit 1f2c098fe7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -349,6 +349,7 @@ func NewPayloadReader(colType schemapb.DataType, buf []byte) (*PayloadReader, er
return &PayloadReader{payloadReaderPtr: r, colType: colType}, nil
}
// GetDataFromPayload returns data,length from payload, returns err if failed
// Params:
// `idx`: String index
// Return: