'RDFB'.freeze
'1'.ord
0b00000111
17 18 19
# File 'lib/rdf/borsh/format.rb', line 17 def self.detect(sample) sample[0..4] == [MAGIC, VERSION].pack('a4C') end
15
# File 'lib/rdf/borsh/format.rb', line 15 def self.name; "RDF/Borsh"; end