Package ghidra.app.util.bin.format.macos.rm

# Class SingleResourceData

java.lang.Object
ghidra.app.util.bin.format.macos.rm.SingleResourceData

public class SingleResourceData extends Object
Format of resource data for a single resource.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `SingleResourceData(BinaryReader reader)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `byte[]`
  `getData()`
  Returns the resource data for this resource.
  `int`
  `getLength()`
  Returns the length of the following resource.

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

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

- ## Constructor Details

  - ### SingleResourceData

    public SingleResourceData(BinaryReader reader) throws IOException
    Throws:
      `IOException`

- ## Method Details

  - ### getLength

    public int getLength()
    Returns the length of the following resource.
    Returns:
      the length of the following resource

  - ### getData

    public byte[] getData()
    Returns the resource data for this resource.
    Returns:
      the resource data for this resource