Sha256: 5f776a14b960405525bbe26212ab4403ae3d51d415a87c356fff856921653251
Contents?: true
Size: 274 Bytes
Versions: 11
Compression:
Stored size: 274 Bytes
Contents
module XDR::Double extend XDR::Concerns::ConvertsToXDR extend XDR::Concerns::FloatConverter def self.write(val, io) raise XDR::WriteError unless valid?(val) io.write [val].pack("G") end def self.read(io) read_bytes(io, 8).unpack("G").first end end
Version data entries
11 entries across 11 versions & 2 rubygems