Class: IO::Buffer

Inherits:
Object
  • Object
show all
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

Constructor Details

#initializeObject



52
# File 'ext/iobuffer.c', line 52

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

Class Method Details

.default_node_sizeObject



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);

#appendObject



56
# File 'ext/iobuffer.c', line 56

static VALUE    IO_Buffer_append(VALUE self, VALUE data);

#clearObject



53
# File 'ext/iobuffer.c', line 53

static VALUE    IO_Buffer_clear(VALUE self);

#empty?Boolean

Returns:

  • (Boolean)


55
# File 'ext/iobuffer.c', line 55

static VALUE    IO_Buffer_empty(VALUE self);

#prependObject



57
# File 'ext/iobuffer.c', line 57

static VALUE    IO_Buffer_prepend(VALUE self, VALUE data);

#readObject



58
# File 'ext/iobuffer.c', line 58

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

#read_frameObject



59
# File 'ext/iobuffer.c', line 59

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

#read_fromObject



61
# File 'ext/iobuffer.c', line 61

static VALUE    IO_Buffer_read_from(VALUE self, VALUE io);

#sizeObject



54
# File 'ext/iobuffer.c', line 54

static VALUE    IO_Buffer_size(VALUE self);

#to_strObject



60
# File 'ext/iobuffer.c', line 60

static VALUE    IO_Buffer_to_str(VALUE self);

#writeObject



56
# File 'ext/iobuffer.c', line 56

static VALUE    IO_Buffer_append(VALUE self, VALUE data);

#write_toObject



62
# File 'ext/iobuffer.c', line 62

static VALUE    IO_Buffer_write_to(VALUE self, VALUE io);