Class: Scl::Binary

Inherits:
Format show all
Defined in:
lib/scl/formats/binary.rb

Constant Summary

Constants inherited from Format

Format::AUTO, Format::BASE64, Format::BINARY, Format::HEX, Format::QRCODE, Format::STDOUT, Format::WORDS

Instance Method Summary collapse

Methods inherited from Format

#name, #output, #read

Instance Method Details

#decode(data) ⇒ Object



7
8
9
# File 'lib/scl/formats/binary.rb', line 7

def decode(data)
  data
end

#encode(data) ⇒ Object



3
4
5
# File 'lib/scl/formats/binary.rb', line 3

def encode(data)
  data
end