Home | History | Annotate | Download | only in utils
      1 /*
      2 // Copyright(c)2014 IntelCorporation
      3 //
      4 // LicensedundertheApacheLicense,Version2.0(the"License");
      5 // youmaynotusethisfileexceptincompliancewiththeLicense.
      6 // YoumayobtainacopyoftheLicenseat
      7 //
      8 // http://www.apache.org/licenses/LICENSE-2.0
      9 //
     10 // Unlessrequiredbyapplicablelaworagreedtoinwriting,software
     11 // distributedundertheLicenseisdistributedonan"ASIS"BASIS,
     12 // WITHOUTWARRANTIESORCONDITIONSOFANYKIND,eitherexpressorimplied.
     13 // SeetheLicenseforthespecificlanguagegoverningpermissionsand
     14 // limitationsundertheLicense.
     15 */
     16 #ifndef DUMP_H_
     17 #define DUMP_H_
     18 
     19 namespace android {
     20 namespace intel {
     21 
     22 class Dump {
     23 public:
     24     Dump(char *buf, int len);
     25     ~Dump();
     26 
     27     void append(const char *fmt, ...);
     28 private:
     29     char *mBuf;
     30     int mLen;
     31 };
     32 
     33 } // namespace intel
     34 } // namespace android
     35 #endif /* DUMP_H_ */
     36