Class CFData

All Implemented Interfaces:
AutoCloseable
Direct Known Subclasses:
CFMutableData

public class CFData
extends CFPropertyList
  • Constructor Details

    • CFData

      protected CFData()
  • Method Details

    • create

      public static CFData create​(byte[] bytes)
    • create

      public static CFData create​(ByteBuffer bytes)
    • createCopy

      public static CFData createCopy​(CFData theData)
    • asByteBuffer

      public ByteBuffer asByteBuffer()
    • getBytes

      public byte[] getBytes()
    • getClassTypeID

      public static long getClassTypeID()
    • createCopy

      public static CFData createCopy​(CFAllocator allocator, CFData theData)
    • getLength

      public long getLength()
    • getBytePtr

      protected long getBytePtr()
    • getBytes

      protected void getBytes​(CFRange range, long buffer)
    • find

      public CFRange find​(CFData dataToFind, CFRange searchRange, CFDataSearchFlags compareOptions)