LibreOffice Module lotuswordpro (master) 1
Static Public Member Functions | List of all members
XFBase64 Class Reference

Base64 algorithm implementation. More...

#include <xfbase64.hxx>

Static Public Member Functions

static OUString Encode (sal_uInt8 const *buf, sal_Int32 len)
 @descr Encode binary buffer to base64 encoding. More...
 

Detailed Description

Base64 algorithm implementation.

I only implements encode function now, i'll add decode if needed later. http://www.faqs.org/rfcs/rfc3548.html.

Definition at line 72 of file xfbase64.hxx.

Member Function Documentation

◆ Encode()

OUString XFBase64::Encode ( sal_uInt8 const *  buf,
sal_Int32  len 
)
static

@descr Encode binary buffer to base64 encoding.

@descr Base64 encode.

Definition at line 97 of file xfbase64.cxx.

References Encode_(), i, and last.

Referenced by XFBGImage::SetImageData(), and XFImage::SetImageData().


The documentation for this class was generated from the following files: