func reposetToPBData(reposet ReposetProps) ([]byte, error) {

    data, err := reposet.Marshal()
    if err != nil {
        return nil, err
    }

    pbreposet := new(pb.IndexNode)
    typ := pb.IndexNode_Reposet
    pbreposet.Type = typ
    pbreposet.Data = data

    data, err = proto.Marshal(pbreposet)

    return data, nil
}
// reposetToPBData creates a protobuf encoded ReposetProps message with the given.
reposetToPBData creates a protobuf encoded ReposetProps message with the given.
// reposetToPBData creates a protobuf encoded ReposetProps message with the given .
func reposetToPBData(reposet ReposetProps) ([]byte, error) {
    data, err := reposet.Marshal()
    if err != nil {
        return nil, err
    }
    pbreposet := new(pb.IndexNode)
    typ := pb.IndexNode_Reposet
    pbreposet.Type = typ
    pbreposet.Data = data
    data, err = proto.Marshal(pbreposet)
    return data, nil
}
func reposetToPBData ( reposet ReposetProps ) ( [ ] byte , error ) { data , err := reposet . Marshal ( ) if err != nil { return nil , err } pbreposet := new ( pb . IndexNode ) typ := pb . IndexNode_Reposet pbreposet . Type = typ pbreposet . Data = data data , err = proto . Marshal ( pbreposet ) return data , nil }
reposetToPBData creates a protobuf encoded ReposetProps message with the given.
reposetToPBData creates a protobuf encoded ReposetProps message with the given .