Go to the source code of this file.
static void makeBuffer |
( |
pfc::array_t< uint8_t > & |
buffer, |
|
|
size_t |
size |
|
) |
| |
|
static |
Definition at line 40 of file filesystem.cpp.
45 }
catch(std::bad_alloc) {
46 if (size < 256)
throw;
void set_size_discard(t_size p_size)
Definition at line 217 of file filesystem.cpp.
220 out << (unsigned) strlen(src);
void add_char(t_uint32 c)
Definition at line 226 of file filesystem.cpp.
229 if (src[ptr++]!=
'|')
return -1;
230 int len = atoi(src+ptr);
231 if (len<=0)
return -1;
232 while(src[ptr]!=0 && src[ptr]!=
'|') ptr++;
233 if (src[ptr]!=
'|')
return -1;
238 if (src[ptr]==0)
return -1;
241 if (src[ptr]!=
'|')
return -1;
virtual void set_string(const char *p_string, t_size p_length=~0)
const char unpack_prefix[] = "unpack://" |
|
static |
const unsigned unpack_prefix_len = 9 |
|
static |