static const RzBufferMethods buffer_ref_methods
static st64 buf_ref_read(RzBuffer *b, ut8 *buf, ut64 len)
static ut64 buf_ref_get_size(RzBuffer *b)
static st64 buf_ref_seek(RzBuffer *b, st64 addr, int whence)
static bool buf_ref_resize(RzBuffer *b, ut64 newsize)
static struct buf_ref_priv * get_priv_ref(RzBuffer *b)
static bool buf_ref_fini(RzBuffer *b)
static bool buf_ref_init(RzBuffer *b, const void *user)
#define rz_warn_if_reached()
#define rz_warn_if_fail(expr)
RZ_API RzBuffer * rz_buf_ref(RzBuffer *b)
Increment the reference count of the buffer.
RZ_API st64 rz_buf_read_at(RZ_NONNULL RzBuffer *b, ut64 addr, RZ_NONNULL RZ_OUT ut8 *buf, ut64 len)
Read len bytes of the buffer at the specified address.
RZ_API void rz_buf_free(RzBuffer *b)
Free all internal data hold by the buffer and the buffer.
RZ_API ut64 rz_buf_size(RZ_NONNULL RzBuffer *b)
Return the size of the buffer.
ut64(WINAPI *w32_GetEnabledXStateFeatures)()