Sha256: 277f61db4ad36e80949441dfbc1524b72d5cf9d6d4824c2671e167e0c0818f5f

Contents?: true

Size: 138 Bytes

Versions: 7

Compression:

Stored size: 138 Bytes

Contents

module Dist
  module Encoding
    def send_string(out, string)
      out << [string.size].pack('n')
      out << string
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
distributed_demo-1.0.8 lib/encoding.rb
distributed_demo-1.0.7 lib/encoding.rb
distributed_demo-1.0.6 lib/encoding.rb
distributed_demo-1.0.5 lib/encoding.rb
distributed_demo-1.0.2 lib/encoding.rb
distributed_demo-1.0.1 lib/encoding.rb
distributed_demo-1.0 lib/encoding.rb