Class: Coolio::Buffer
- Inherits:
-
Object
- Object
- Coolio::Buffer
- Defined in:
- ext/cool.io/buffer.c
Constant Summary collapse
- MAX_SIZE =
INT2NUM(MAX_BUFFER_SIZE)
Class Method Summary collapse
Instance Method Summary collapse
- #<< ⇒ Object
- #append ⇒ Object
- #clear ⇒ Object
- #empty? ⇒ Boolean
- #initialize ⇒ Object constructor
- #prepend ⇒ Object
- #read ⇒ Object
- #read_frame ⇒ Object
- #read_from ⇒ Object
- #size ⇒ Object
- #to_str ⇒ Object
- #write ⇒ Object
- #write_to ⇒ Object
Constructor Details
#initialize ⇒ Object
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_size ⇒ Object
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);
|
#append ⇒ Object
59 |
# File 'ext/cool.io/buffer.c', line 59
static VALUE Coolio_Buffer_append(VALUE self, VALUE data);
|
#clear ⇒ Object
56 |
# File 'ext/cool.io/buffer.c', line 56 static VALUE Coolio_Buffer_clear(VALUE self); |
#empty? ⇒ Boolean
58 |
# File 'ext/cool.io/buffer.c', line 58 static VALUE Coolio_Buffer_empty(VALUE self); |
#prepend ⇒ Object
60 |
# File 'ext/cool.io/buffer.c', line 60
static VALUE Coolio_Buffer_prepend(VALUE self, VALUE data);
|
#read ⇒ Object
61 |
# File 'ext/cool.io/buffer.c', line 61
static VALUE Coolio_Buffer_read(int argc, VALUE * argv, VALUE self);
|
#read_frame ⇒ Object
62 |
# File 'ext/cool.io/buffer.c', line 62
static VALUE Coolio_Buffer_read_frame(VALUE self, VALUE data, VALUE mark);
|
#read_from ⇒ Object
64 |
# File 'ext/cool.io/buffer.c', line 64
static VALUE Coolio_Buffer_read_from(VALUE self, VALUE io);
|
#size ⇒ Object
57 |
# File 'ext/cool.io/buffer.c', line 57 static VALUE Coolio_Buffer_size(VALUE self); |
#to_str ⇒ Object
63 |
# File 'ext/cool.io/buffer.c', line 63 static VALUE Coolio_Buffer_to_str(VALUE self); |
#write ⇒ Object
59 |
# File 'ext/cool.io/buffer.c', line 59
static VALUE Coolio_Buffer_append(VALUE self, VALUE data);
|
#write_to ⇒ Object
65 |
# File 'ext/cool.io/buffer.c', line 65
static VALUE Coolio_Buffer_write_to(VALUE self, VALUE io);
|