Rserve::REXP::Raw

Public Class Methods

new(l,attr=nil) click to toggle source
# File lib/rserve/rexp/raw.rb, line 4
def initialize(l,attr=nil)
  super(attr);
  @payload=(l.nil?) ? Array.new() : l;
end

Public Instance Methods

as_bytes() click to toggle source
# File lib/rserve/rexp/raw.rb, line 14
def as_bytes
  @payload
end
length() click to toggle source
# File lib/rserve/rexp/raw.rb, line 8
def length
  @payload.length
end
raw?() click to toggle source
# File lib/rserve/rexp/raw.rb, line 11
def raw?
  true
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.