Sha256: 561aa7f1d6e81aa783d46297de73b553963fab80170845982fb2d9876292a496
Contents?: true
Size: 246 Bytes
Versions: 3
Compression:
Stored size: 246 Bytes
Contents
module Ccrypto module Ruby class NativeHelper def self.is_byte_array?(dat) if not dat.nil? dat.is_a?(String) and (dat.count('01') == dat.size) else false end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
ccrypto-ruby-0.1.2 | lib/ccrypto/ruby/utils/native_helper.rb |
ccrypto-ruby-0.1.1 | lib/ccrypto/ruby/utils/native_helper.rb |
ccrypto-ruby-0.1.0 | lib/ccrypto/ruby/utils/native_helper.rb |