Tramway SDK
Namespaces | Functions
file.cpp File Reference
#include <platform/file.h>
#include <framework/file.h>
#include <charconv>
#include <cstring>

Namespaces

namespace  tram
 

Functions

template<typename T >
auto tram::read_text_from_chars (const char *&cursor, const char *cursor_end)
 
int32_t tram::read_text_int32 (const char *&cursor, const char *cursor_end)
 
int64_t tram::read_text_int64 (const char *&cursor, const char *cursor_end)
 
float tram::read_text_float32 (const char *&cursor, const char *cursor_end)
 
double tram::read_text_float64 (const char *&cursor, const char *cursor_end)
 
UID tram::read_text_name (const char *&cursor, const char *cursor_end)
 
std::string_view tram::read_text_line (const char *&cursor, const char *cursor_end)
 
template<typename T >
void tram::write_text_to_chars (T value, char *&cursor, char *cursor_end)