Page MenuHomePhorge

blob.h
No OneTemporary

Size
494 B
Referenced Files
None
Subscribers
None
#ifndef BLOB_H
#define BLOB_H
#include <stdint.h>
#include <stddef.h>
#include "types.h"
typedef struct {
uint8_t *data;
size_t size;
char *type;
char *name;
int64_t last_modified;
} blob_data_t;
void init_blob_module(void);
bool blob_is_blob(ant_t *js, ant_value_t obj);
blob_data_t *blob_get_data(ant_value_t obj);
ant_value_t blob_create(ant_t *js, const uint8_t *data, size_t size, const char *type);
extern ant_value_t g_blob_proto;
extern ant_value_t g_file_proto;
#endif

File Metadata

Mime Type
text/x-c
Expires
Fri, Apr 3, 7:56 PM (2 d)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
521498
Default Alt Text
blob.h (494 B)

Event Timeline