Skip to content Navigation Menu Toggle navigation Sign in Appearance settings PlatformAI CODE CREATIONGitHub CopilotWrite better code with AIGitHub Copilot appDirect agents from issue to mergeMCP RegistryNewIntegrate external toolsDEVELOPER WORKFLOWSActionsAutomate any workflowCodespacesInstant dev environmentsIssuesPlan and track workCode ReviewManage code changesAPPLICATION SECURITYGitHub Advanced SecurityFind and fix vulnerabilitiesCode securitySecure your code as you buildSecret protectionStop leaks before they startEXPLOREWhy GitHubDocumentationBlogChangelogMarketplaceView all featuresSolutionsBY COMPANY SIZEEnterprisesSmall and medium teamsStartupsNonprofitsBY USE CASEApp ModernizationDevSecOpsDevOpsCI/CDView all use casesBY INDUSTRYHealthcareFinancial servicesManufacturingGovernmentView all industriesView all solutionsResourcesEXPLORE BY TOPICAISoftware DevelopmentDevOpsSecurityView all topicsEXPLORE BY TYPECustomer storiesEvents & webinarsEbooks & reportsBusiness insightsGitHub SkillsSUPPORT & SERVICESDocumentationCustomer supportCommunity forumTrust centerPartnersView all resourcesOpen SourceCOMMUNITYGitHub SponsorsFund open source developersPROGRAMSSecurity LabMaintainer CommunityAcceleratorGitHub StarsArchive ProgramREPOSITORIESTopicsTrendingCollectionsEnterpriseENTERPRISE SOLUTIONSEnterprise platformAI-powered developer platformAVAILABLE ADD-ONSGitHub Advanced SecurityEnterprise-grade security featuresCopilot for BusinessEnterprise-grade AI featuresPremium SupportEnterprise-grade 24/7 supportPricing Search or jump to... Search code, repositories, users, issues, pull requests... Search Clear Search syntax tips Provide feedback We read every piece of feedback, and take your input very seriously. Include my email address so I can be contacted Saved searches Use saved searches to filter your results more quickly Name Query To see all available qualifiers, see our documentation. Sign in Sign up Appearance settings Resetting focus You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert {{ message }} Uh oh! There was an error while loading. Please reload this page. Pythunder / libssh2 Public Notifications You must be signed in to change notification settings Fork 0 Star 1 Code Issues 0 Pull requests 0 Actions Projects Security and quality 0 Insights Additional navigation options Code Issues Pull requests Actions Projects Security and quality Insights FilesExpand file tree masterBreadcrumbslibssh2/docs/libssh2_base64_decode.3Copy pathBlameMore file actionsBlameMore file actions Latest commit HistoryHistoryHistory25 lines (22 loc) · 965 Bytes masterBreadcrumbslibssh2/docs/libssh2_base64_decode.3Copy pathTopFile metadata and controlsCodeBlame25 lines (22 loc) · 965 BytesRawCopy raw fileDownload raw fileOpen symbols panelEdit and raw actions12345678910111213141516171819202122232425.TH libssh2_base64_decode 3 "23 Dec 2008" "libssh2 1.0" "libssh2 manual".SH NAMElibssh2_base64_decode - decode a base64 encoded string.SH SYNOPSIS#include <libssh2.h> int libssh2_base64_decode(LIBSSH2_SESSION *session, char **dest, unsigned int *dest_len, const char *src, unsigned int src_len);.SH DESCRIPTIONThis function is deemed DEPRECATED and will be removed from libssh2 in afuture version. Don't use it! Decode a base64 chunk and store it into a newly allocated buffer. 'dest_len'will be set to hold the length of the returned buffer that '*dest' will pointto. The returned buffer is allocated by this function, but it is not clear how tofree that memory!.SH BUGSThe memory that *dest points to is allocated by the malloc function libssh2uses, but there's no way for an application to free this data in a safe andreliable way!.SH RETURN VALUE0 if successful, \-1 if any error occurred. You can’t perform that action at this time.