PdfArrayInBuffer
Contents
[
Hide
]Inheritance: java.lang.Object, com.aspose.pdf.groupprocessor.PdfArrayInMemory
All Implemented Interfaces: com.aspose.ms.System.IDisposable, java.io.Closeable
public final class PdfArrayInBuffer extends PdfArrayInMemory implements System.IDisposable, Closeable
For internal usage only
Constructors
Methods
PdfArrayInBuffer(System.IO.FileStream stream, int bufferSize, System.Collections.Generic.Dictionary<ObjectKey,ByteRange> pdfObjects, long documentStartIndex)
public PdfArrayInBuffer(System.IO.FileStream stream, int bufferSize, System.Collections.Generic.Dictionary<ObjectKey,ByteRange> pdfObjects, long documentStartIndex)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| stream | com.aspose.ms.System.IO.FileStream | |
| bufferSize | int | |
| pdfObjects | com.aspose.ms.System.Collections.Generic.Dictionary<com.aspose.pdf.groupprocessor.ObjectKey,com.aspose.pdf.groupprocessor.ByteRange> | |
| documentStartIndex | long |
PdfArrayInBuffer(byte[] bytes, System.Collections.Generic.Dictionary<ObjectKey,ByteRange> pdfObjects)
public PdfArrayInBuffer(byte[] bytes, System.Collections.Generic.Dictionary<ObjectKey,ByteRange> pdfObjects)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| bytes | byte[] | |
| pdfObjects | com.aspose.ms.System.Collections.Generic.Dictionary<com.aspose.pdf.groupprocessor.ObjectKey,com.aspose.pdf.groupprocessor.ByteRange> |
get_Item_PdfArrayInBuffer_New(int index)
public byte get_Item_PdfArrayInBuffer_New(int index)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| index | int |
Returns: byte
get_Item(long index)
public byte get_Item(long index)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| index | long |
Returns: byte
indexOf(long indexFrom, long indexTo, byte pdfElement)
public long indexOf(long indexFrom, long indexTo, byte pdfElement)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| indexFrom | long | |
| indexTo | long | |
| pdfElement | byte |
Returns: long
indexOf(long indexFrom, byte pdfElement)
public long indexOf(long indexFrom, byte pdfElement)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| indexFrom | long | |
| pdfElement | byte |
Returns: long
lastIndexOf(byte pdfElement)
public long lastIndexOf(byte pdfElement)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| pdfElement | byte |
Returns: long
lastIndexOf(long lastIndex, byte pdfElement)
public long lastIndexOf(long lastIndex, byte pdfElement)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| lastIndex | long | |
| pdfElement | byte |
Returns: long
findNextObject(long currentIndex, ObjectKey[] key)
public long findNextObject(long currentIndex, ObjectKey[] key)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| currentIndex | long | |
| key | com.aspose.pdf.groupprocessor.ObjectKey[] |
Returns: long
findNextEndobject(long currentIndex)
public long findNextEndobject(long currentIndex)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| currentIndex | long |
Returns: long
extractObjectKeyOnTheRightSide(long index, ObjectKey[] key)
public long extractObjectKeyOnTheRightSide(long index, ObjectKey[] key)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| index | long | |
| key | com.aspose.pdf.groupprocessor.ObjectKey[] |
Returns: long
subBytes(long indexFrom, long indexTo)
public byte[] subBytes(long indexFrom, long indexTo)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| indexFrom | long | |
| indexTo | long |
Returns: byte[]
subString(long indexFrom, long indexTo)
public String subString(long indexFrom, long indexTo)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| indexFrom | long | |
| indexTo | long |
Returns: java.lang.String
endParameterFinderInMemory(long[] index)
public void endParameterFinderInMemory(long[] index)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| index | long[] |
tryToExtractObjectKeyOnTheRightSideInMemory(long index, ObjectKey[] key, long[] changedIndex)
public boolean tryToExtractObjectKeyOnTheRightSideInMemory(long index, ObjectKey[] key, long[] changedIndex)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| index | long | |
| key | com.aspose.pdf.groupprocessor.ObjectKey[] | |
| changedIndex | long[] |
Returns: boolean
forwardSpaceEaterInMemory(long[] index)
public void forwardSpaceEaterInMemory(long[] index)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| index | long[] |
isEqual(byte[] firstArray, byte[] secondArray)
public static boolean isEqual(byte[] firstArray, byte[] secondArray)
Parameters:
| Parameter | Type | Description |
|---|---|---|
| firstArray | byte[] | |
| secondArray | byte[] |
Returns: boolean
close()
public void close()
Closes all resources used by this instance.
dispose()
public void dispose()
Closes all resources used by this instance.
This method is obsolete, use close() instead.