Package nom.tam.util

Interface FitsIO

    • Field Detail

      • DEFAULT_BUFFER_SIZE

        static final int DEFAULT_BUFFER_SIZE
        default buffer size to use if none is specified.
        See Also:
        Constant Field Values
      • BITS_OF_1_BYTE

        static final int BITS_OF_1_BYTE
        number of bits in one byte.
        See Also:
        Constant Field Values
      • BITS_OF_2_BYTES

        static final int BITS_OF_2_BYTES
        number of bits in two byte.
        See Also:
        Constant Field Values
      • BITS_OF_3_BYTES

        static final int BITS_OF_3_BYTES
        number of bits in three byte.
        See Also:
        Constant Field Values
      • BITS_OF_4_BYTES

        static final int BITS_OF_4_BYTES
        number of bits in four byte.
        See Also:
        Constant Field Values
      • BITS_OF_5_BYTES

        static final int BITS_OF_5_BYTES
        number of bits in five byte.
        See Also:
        Constant Field Values
      • BITS_OF_6_BYTES

        static final int BITS_OF_6_BYTES
        number of bits in six byte.
        See Also:
        Constant Field Values
      • BITS_OF_7_BYTES

        static final int BITS_OF_7_BYTES
        number of bits in seven byte.
        See Also:
        Constant Field Values
      • BYTES_IN_BOOLEAN

        static final int BYTES_IN_BOOLEAN
        number of bytes occupied by a boolean.
        See Also:
        Constant Field Values
      • BYTES_IN_BYTE

        static final int BYTES_IN_BYTE
        number of bytes occupied by a byte.
        See Also:
        Constant Field Values
      • BYTES_IN_CHAR

        static final int BYTES_IN_CHAR
        number of bytes occupied by a char.
        See Also:
        Constant Field Values
      • BYTES_IN_SHORT

        static final int BYTES_IN_SHORT
        number of bytes occupied by a short.
        See Also:
        Constant Field Values
      • BYTES_IN_INTEGER

        static final int BYTES_IN_INTEGER
        number of bytes occupied by a integer.
        See Also:
        Constant Field Values
      • BYTES_IN_LONG

        static final int BYTES_IN_LONG
        number of bytes occupied by a long.
        See Also:
        Constant Field Values
      • BYTES_IN_FLOAT

        static final int BYTES_IN_FLOAT
        number of bytes occupied by a float.
        See Also:
        Constant Field Values
      • BYTES_IN_DOUBLE

        static final int BYTES_IN_DOUBLE
        number of bytes occupied by a double.
        See Also:
        Constant Field Values
      • BYTE_MASK

        static final int BYTE_MASK
        bit mask to get the lowest byte from an integer. Or to get an unsigned integer from a byte.
        See Also:
        Constant Field Values
      • SHORT_MASK

        static final int SHORT_MASK
        bit mask to get the lowest short of a integer.
        See Also:
        Constant Field Values
      • SHORT_OF_LONG_MASK

        static final long SHORT_OF_LONG_MASK
        bit mask to get the lowest short of a long.
        See Also:
        Constant Field Values
      • BYTE_1_OF_LONG_MASK

        static final long BYTE_1_OF_LONG_MASK
        bit mask to get the lowest byte of a long.
        See Also:
        Constant Field Values
      • BYTE_2_OF_LONG_MASK

        static final long BYTE_2_OF_LONG_MASK
        bit mask to get the second lowest byte of a long.
        See Also:
        Constant Field Values
      • BYTE_3_OF_LONG_MASK

        static final long BYTE_3_OF_LONG_MASK
        bit mask to get the third lowest byte of a long.
        See Also:
        Constant Field Values
      • BYTE_4_OF_LONG_MASK

        static final long BYTE_4_OF_LONG_MASK
        bit mask to get the fourth lowest byte of a long.
        See Also:
        Constant Field Values
      • INTEGER_MASK

        static final long INTEGER_MASK
        bit mask to get the lowest integer from an long.
        See Also:
        Constant Field Values
      • HIGH_INTEGER_MASK

        static final long HIGH_INTEGER_MASK
        bit mask to get the highest integer from an long.
        See Also:
        Constant Field Values
    • Method Detail

      • close

        void close()
            throws java.io.IOException
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable
        Throws:
        java.io.IOException