#ifndef SHARE_UTILS_H
#define SHARE_UTILS_H

#include <time.h>
#include <support/SupportDefs.h>
#include "BeShareNameSpace.h"

namespace beshare {

// Given a byte count returns it in human-friends format into (outBuf).
// (outBuf) should be at least 32 chars long.
void GetByteSizeString(int64 v, char * outBuf);


// Given a time_t, returns a string representation of that date/time.
void GetTimeString(time_t when, char * buf);

};  // end namespace beshare

#endif
