Package org.apache.commons.imaging.formats.tiff.taginfos

# Class TagInfoSShort

java.lang.Object
org.apache.commons.imaging.formats.tiff.taginfos.TagInfo
org.apache.commons.imaging.formats.tiff.taginfos.TagInfoSShort

public class TagInfoSShort extends TagInfo

- ## Field Summary

  ### Fields inherited from class org.apache.commons.imaging.formats.tiff.taginfos.TagInfo

  `dataTypes, directoryType, length, LENGTH_UNKNOWN, name, tag`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `TagInfoSShort(String name, int tag, TiffDirectoryType directoryType)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `byte[]`
  `encodeValue(ByteOrder byteOrder, short value)`
  `short`
  `getValue(ByteOrder byteOrder, byte[] bytes)`

  ### Methods inherited from class org.apache.commons.imaging.formats.tiff.taginfos.TagInfo

  `encodeValue, getDescription, getValue, isOffset, isText, toString`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### TagInfoSShort

    public TagInfoSShort(String name, int tag, TiffDirectoryType directoryType)

- ## Method Details

  - ### encodeValue

    public byte[] encodeValue(ByteOrder byteOrder, short value)

  - ### getValue

    public short getValue(ByteOrder byteOrder, byte[] bytes)