Class: TSV::IntegerArraySerializer
- Inherits:
-
Object
- Object
- TSV::IntegerArraySerializer
- Defined in:
- lib/rbbt/tsv/serializers.rb
Class Method Summary collapse
Class Method Details
.dump(a) ⇒ Object
19 |
# File 'lib/rbbt/tsv/serializers.rb', line 19 def self.dump(a); a.pack("l*"); end |
.load(str) ⇒ Object
20 |
# File 'lib/rbbt/tsv/serializers.rb', line 20 def self.load(str); str.unpack("l*"); end |