PageRenderTime 6ms CodeModel.GetById 2ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 1ms

/indra/llcommon/llbase64.h

https://bitbucket.org/lindenlab/viewer-beta/
C++ Header | 37 lines | 8 code | 3 blank | 26 comment | 0 complexity | 73e4d7e276819bb42aeae3370a53e3fc MD5 | raw file
 1/** 
 2 * @file llbase64.h
 3 * @brief Wrapper for apr base64 encoding that returns a std::string
 4 * @author James Cook
 5 *
 6 * $LicenseInfo:firstyear=2007&license=viewerlgpl$
 7 * Second Life Viewer Source Code
 8 * Copyright (C) 2010, Linden Research, Inc.
 9 * 
10 * This library is free software; you can redistribute it and/or
11 * modify it under the terms of the GNU Lesser General Public
12 * License as published by the Free Software Foundation;
13 * version 2.1 of the License only.
14 * 
15 * This library is distributed in the hope that it will be useful,
16 * but WITHOUT ANY WARRANTY; without even the implied warranty of
17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
18 * Lesser General Public License for more details.
19 * 
20 * You should have received a copy of the GNU Lesser General Public
21 * License along with this library; if not, write to the Free Software
22 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
23 * 
24 * Linden Research, Inc., 945 Battery Street, San Francisco, CA  94111  USA
25 * $/LicenseInfo$
26 */
27
28#ifndef LLBASE64_H
29#define LLBASE64_H
30
31class LL_COMMON_API LLBase64
32{
33public:
34	static std::string encode(const U8* input, size_t input_size);
35};
36
37#endif