[skip e2e] Add coment for payloadwriter (#14724)

Signed-off-by: shaoyue.chen <shaoyue.chen@zilliz.com>
pull/14750/head
shaoyue 2022-01-04 10:49:27 +08:00 committed by GitHub
parent b6b62c025e
commit 756904dd3e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -186,6 +186,7 @@ func (w *PayloadWriter) AddBoolToPayload(msgs []bool) error {
return HandleCStatus(&status, "AddBoolToPayload failed")
}
// AddByteToPayload adds @msgs into payload
func (w *PayloadWriter) AddByteToPayload(msgs []byte) error {
length := len(msgs)
if length <= 0 {