428
429
// NOTE: HistoryBranch does not have an encoding type; so we use the serializer's encoding type.
430
>
func (t *serializerImpl) HistoryBranchFromBlob(data []byte) (*persistencespb.HistoryBranch, error) {
serializer.go
431
>
result := &persistencespb.HistoryBranch{}
432
>
return result, Decode(&commonpb.DataBlob{Data: data, EncodingType: t.encodingType}, result)
433
>
}
434
435
func (t *serializerImpl) WorkflowExecutionInfoToBlob(info *persistencespb.WorkflowExecutionInfo) (*commonpb.DataBlob, error) {