Class: Coolio::Buffer

Inherits:
Object
  • Object
show all
Defined in:
ext/cool.io/buffer.c

Constant Summary collapse

MAX_SIZE =
INT2NUM(MAX_BUFFER_SIZE)

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeObject



55
# File 'ext/cool.io/buffer.c', line 55

static VALUE    Coolio_Buffer_initialize(int argc, VALUE * argv, VALUE self);

Class Method Details

.default_node_sizeObject



53
# File 'ext/cool.io/buffer.c', line 53

static VALUE    Coolio_Buffer_default_node_size(VALUE klass);

.default_node_size=Object



54
# File 'ext/cool.io/buffer.c', line 54

static VALUE    Coolio_Buffer_set_default_node_size(VALUE klass, VALUE size);

Instance Method Details

#<<Object



59
# File 'ext/cool.io/buffer.c', line 59

static VALUE    Coolio_Buffer_append(VALUE self, VALUE data);

#appendObject



59
# File 'ext/cool.io/buffer.c', line 59

static VALUE    Coolio_Buffer_append(VALUE self, VALUE data);

#clearObject



56
# File 'ext/cool.io/buffer.c', line 56

static VALUE    Coolio_Buffer_clear(VALUE self);

#empty?Boolean

Returns:

  • (Boolean)


58
# File 'ext/cool.io/buffer.c', line 58

static VALUE    Coolio_Buffer_empty(VALUE self);

#prependObject



60
# File 'ext/cool.io/buffer.c', line 60

static VALUE    Coolio_Buffer_prepend(VALUE self, VALUE data);

#readObject



61
# File 'ext/cool.io/buffer.c', line 61

static VALUE    Coolio_Buffer_read(int argc, VALUE * argv, VALUE self);

#read_frameObject



62
# File 'ext/cool.io/buffer.c', line 62

static VALUE    Coolio_Buffer_read_frame(VALUE self, VALUE data, VALUE mark);

#read_fromObject



64
# File 'ext/cool.io/buffer.c', line 64

static VALUE    Coolio_Buffer_read_from(VALUE self, VALUE io);

#sizeObject



57
# File 'ext/cool.io/buffer.c', line 57

static VALUE    Coolio_Buffer_size(VALUE self);

#to_strObject



63
# File 'ext/cool.io/buffer.c', line 63

static VALUE    Coolio_Buffer_to_str(VALUE self);

#writeObject



59
# File 'ext/cool.io/buffer.c', line 59

static VALUE    Coolio_Buffer_append(VALUE self, VALUE data);

#write_toObject



65
# File 'ext/cool.io/buffer.c', line 65

static VALUE    Coolio_Buffer_write_to(VALUE self, VALUE io);