1/* blob.c */ 2blob_T *blob_alloc(void); 3int rettv_blob_alloc(typval_T *rettv); 4void rettv_blob_set(typval_T *rettv, blob_T *b); 5int blob_copy(blob_T *from, typval_T *to); 6void blob_free(blob_T *b); 7void blob_unref(blob_T *b); 8long blob_len(blob_T *b); 9int blob_get(blob_T *b, int idx); 10void blob_set(blob_T *b, int idx, char_u c); 11int blob_equal(blob_T *b1, blob_T *b2); 12int read_blob(FILE *fd, blob_T *blob); 13int write_blob(FILE *fd, blob_T *blob); 14char_u *blob2string(blob_T *blob, char_u **tofree, char_u *numbuf); 15blob_T *string2blob(char_u *str); 16int blob_slice_or_index(blob_T *blob, int is_range, varnumber_T n1, varnumber_T n2, int exclusive, typval_T *rettv); 17int blob_set_range(blob_T *dest, long n1, long n2, typval_T *src); 18void blob_remove(typval_T *argvars, typval_T *rettv); 19/* vim: set ft=c : */ 20