/usr/include/root/TBase64.h is in libroot-core-dev 5.34.30-0ubuntu8.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 | // @(#)root/base:$Id$
// Author: Gerardo Ganis + Fons Rademakers 15/5/2009
/*************************************************************************
* Copyright (C) 1995-2009, Rene Brun and Fons Rademakers. *
* All rights reserved. *
* *
* For the licensing terms see $ROOTSYS/LICENSE. *
* For the list of contributors see $ROOTSYS/README/CREDITS. *
*************************************************************************/
#ifndef ROOT_TBase64
#define ROOT_TBase64
//////////////////////////////////////////////////////////////////////////
// //
// TBase64 //
// //
// This code implements the Base64 encoding and decoding. //
// Base64 encoded messages are typically used in authentication //
// protocols and to pack binary data in HTTP messages. //
// //
//////////////////////////////////////////////////////////////////////////
#ifndef ROOT_Rtypes
#include "Rtypes.h"
#endif
#ifndef ROOT_TString
#include "TString.h"
#endif
class TBase64 {
public:
virtual ~TBase64() { }
static TString Encode(const char *data);
static TString Encode(const char *data, Int_t len);
static TString Decode(const char *data);
ClassDef(TBase64,0) // Base64 encoding/decoding
};
#endif
|