Class: Ccrypto::Java::NativeHelper

Inherits:
Object
  • Object
show all
Defined in:
lib/ccrypto/java/utils/native_helper.rb

Class Method Summary collapse

Class Method Details

.is_byte_array?(dat) ⇒ Boolean

Returns:

  • (Boolean)


8
9
10
11
12
13
14
# File 'lib/ccrypto/java/utils/native_helper.rb', line 8

def self.is_byte_array?(dat)
  if not dat.nil?
    dat.is_a?(::Java::byte[])
  else
    false
  end
end