Class: IO::Buffer
- Inherits:
-
Object
- Object
- IO::Buffer
- Defined in:
- lib/iobuffer/version.rb,
ext/iobuffer.c
Constant Summary collapse
- VERSION =
"1.1.2"
- 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
52 |
# File 'ext/iobuffer.c', line 52
static VALUE IO_Buffer_initialize(int argc, VALUE * argv, VALUE self);
|
Class Method Details
.default_node_size ⇒ Object
50 |
# File 'ext/iobuffer.c', line 50 static VALUE IO_Buffer_default_node_size(VALUE klass); |
.default_node_size= ⇒ Object
51 |
# File 'ext/iobuffer.c', line 51
static VALUE IO_Buffer_set_default_node_size(VALUE klass, VALUE size);
|
Instance Method Details
#<< ⇒ Object
56 |
# File 'ext/iobuffer.c', line 56
static VALUE IO_Buffer_append(VALUE self, VALUE data);
|
#append ⇒ Object
56 |
# File 'ext/iobuffer.c', line 56
static VALUE IO_Buffer_append(VALUE self, VALUE data);
|
#clear ⇒ Object
53 |
# File 'ext/iobuffer.c', line 53 static VALUE IO_Buffer_clear(VALUE self); |
#empty? ⇒ Boolean
55 |
# File 'ext/iobuffer.c', line 55 static VALUE IO_Buffer_empty(VALUE self); |
#prepend ⇒ Object
57 |
# File 'ext/iobuffer.c', line 57
static VALUE IO_Buffer_prepend(VALUE self, VALUE data);
|
#read ⇒ Object
58 |
# File 'ext/iobuffer.c', line 58
static VALUE IO_Buffer_read(int argc, VALUE * argv, VALUE self);
|
#read_frame ⇒ Object
59 |
# File 'ext/iobuffer.c', line 59
static VALUE IO_Buffer_read_frame(VALUE self, VALUE data, VALUE mark);
|
#read_from ⇒ Object
61 |
# File 'ext/iobuffer.c', line 61
static VALUE IO_Buffer_read_from(VALUE self, VALUE io);
|
#size ⇒ Object
54 |
# File 'ext/iobuffer.c', line 54 static VALUE IO_Buffer_size(VALUE self); |
#to_str ⇒ Object
60 |
# File 'ext/iobuffer.c', line 60 static VALUE IO_Buffer_to_str(VALUE self); |
#write ⇒ Object
56 |
# File 'ext/iobuffer.c', line 56
static VALUE IO_Buffer_append(VALUE self, VALUE data);
|
#write_to ⇒ Object
62 |
# File 'ext/iobuffer.c', line 62
static VALUE IO_Buffer_write_to(VALUE self, VALUE io);
|