org.apache.poi.hdgf.pointers

## Class PointerV5

- java.lang.Object
- - org.apache.poi.hdgf.pointers.Pointer
  - - org.apache.poi.hdgf.pointers.PointerV5

-     public final class PointerV5
      extends Pointer

  A Pointer from v5

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `PointerV5()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `destinationCompressed()`
    `boolean` | `destinationHasChunks()`
    `boolean` | `destinationHasPointers()`
    `boolean` | `destinationHasStrings()`
    `int` | `getNumPointers(int offset, byte[] data)` 16 bit int at the given offset
    `int` | `getNumPointersOffset(byte[] data)` Depends on the type only, not stored
    `int` | `getPostNumPointersSkip()` Just the 2 bytes of the number of pointers
    `int` | `getSizeInBytes()` With v6 pointers, the on-disk size is 16 bytes

    - ### Methods inherited from class org.apache.poi.hdgf.pointers.Pointer

      `getAddress, getFormat, getLength, getOffset, getType, isFormatBetween, setAddress, setFormat, setLength, setOffset, setType`

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

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

- - ### Constructor Detail

    - #### PointerV5

          public PointerV5()

  - ### Method Detail

    - #### destinationHasStrings

          public boolean destinationHasStrings()

      Specified by:
        `destinationHasStrings` in class `Pointer`

    - #### destinationHasPointers

          public boolean destinationHasPointers()

      Specified by:
        `destinationHasPointers` in class `Pointer`

    - #### destinationHasChunks

          public boolean destinationHasChunks()

      Specified by:
        `destinationHasChunks` in class `Pointer`

    - #### destinationCompressed

          public boolean destinationCompressed()

      Specified by:
        `destinationCompressed` in class `Pointer`

    - #### getSizeInBytes

          public int getSizeInBytes()

      With v6 pointers, the on-disk size is 16 bytes
      Specified by:
        `getSizeInBytes` in class `Pointer`

    - #### getNumPointersOffset

          public int getNumPointersOffset(byte[] data)

      Depends on the type only, not stored
      Specified by:
        `getNumPointersOffset` in class `Pointer`

    - #### getNumPointers

          public int getNumPointers(int offset,
                                    byte[] data)

      16 bit int at the given offset
      Specified by:
        `getNumPointers` in class `Pointer`

    - #### getPostNumPointersSkip

          public int getPostNumPointersSkip()

      Just the 2 bytes of the number of pointers
      Specified by:
        `getPostNumPointersSkip` in class `Pointer`

Copyright 2020 The Apache Software Foundation or its licensors, as applicable.