Class: Hexdump::Type::Int16 Private

Inherits:
Int show all
Defined in:
lib/hexdump/type.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Since:

  • 1.0.0

Constant Summary

Constants inherited from Hexdump::Type

NATIVE_ENDIAN

Instance Attribute Summary

Attributes inherited from Hexdump::Type

#endian, #size

Instance Method Summary collapse

Methods inherited from Hexdump::Type

#signed?, #unsigned?

Constructor Details

#initialize(**kwargs) ⇒ Int16

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of Int16.

See Also:

Since:

  • 1.0.0



98
99
100
# File 'lib/hexdump/type.rb', line 98

def initialize(**kwargs)
  super(size: 2, **kwargs)
end