mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Refined cBase64Encoder description
This commit is contained in:
parent
12b4f37ca3
commit
924827fcbe
9
tools.h
9
tools.h
@ -4,7 +4,7 @@
|
|||||||
* See the main source file 'vdr.c' for copyright information and
|
* See the main source file 'vdr.c' for copyright information and
|
||||||
* how to reach the author.
|
* how to reach the author.
|
||||||
*
|
*
|
||||||
* $Id: tools.h 1.87 2005/12/29 15:48:46 kls Exp $
|
* $Id: tools.h 1.88 2005/12/30 11:27:23 kls Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __TOOLS_H
|
#ifndef __TOOLS_H
|
||||||
@ -142,8 +142,8 @@ private:
|
|||||||
public:
|
public:
|
||||||
cBase64Encoder(const uchar *Data, int Length, int MaxResult = 64);
|
cBase64Encoder(const uchar *Data, int Length, int MaxResult = 64);
|
||||||
///< Sets up a new base 64 encoder for the given Data, with the given Length.
|
///< Sets up a new base 64 encoder for the given Data, with the given Length.
|
||||||
///< Data will not be copied and must be valid for the entire lifetime of the
|
///< Data will not be copied and must be valid as long as NextLine() will be
|
||||||
///< encoder. MaxResult defines the maximum number of characters in any
|
///< called. MaxResult defines the maximum number of characters in any
|
||||||
///< result line. The resulting lines may be shorter than MaxResult in case
|
///< result line. The resulting lines may be shorter than MaxResult in case
|
||||||
///< its value is not a multiple of 4.
|
///< its value is not a multiple of 4.
|
||||||
~cBase64Encoder();
|
~cBase64Encoder();
|
||||||
@ -151,7 +151,8 @@ public:
|
|||||||
///< Returns the next line of encoded data (terminated by '\0'), or NULL if
|
///< Returns the next line of encoded data (terminated by '\0'), or NULL if
|
||||||
///< there is no more encoded data. The caller must call NextLine() and process
|
///< there is no more encoded data. The caller must call NextLine() and process
|
||||||
///< each returned line until NULL is returned, in order to get the entire
|
///< each returned line until NULL is returned, in order to get the entire
|
||||||
///< data encoded.
|
///< data encoded. The returned data is only valid until the next time NextLine()
|
||||||
|
///< is called, or until the object is destroyed.
|
||||||
};
|
};
|
||||||
|
|
||||||
class cTimeMs {
|
class cTimeMs {
|
||||||
|
Loading…
Reference in New Issue
Block a user