PdfArrayInBuffer

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

ConstructorDescription
PdfArrayInBuffer(System.IO.FileStream stream, int bufferSize, System.Collections.Generic.Dictionary<ObjectKey,ByteRange> pdfObjects, long documentStartIndex)
PdfArrayInBuffer(byte[] bytes, System.Collections.Generic.Dictionary<ObjectKey,ByteRange> pdfObjects)

Methods

MethodDescription
get_Item_PdfArrayInBuffer_New(int index)
get_Item(long index)
indexOf(long indexFrom, long indexTo, byte pdfElement)
indexOf(long indexFrom, byte pdfElement)
lastIndexOf(byte pdfElement)
lastIndexOf(long lastIndex, byte pdfElement)
findNextObject(long currentIndex, ObjectKey[] key)
findNextEndobject(long currentIndex)
extractObjectKeyOnTheRightSide(long index, ObjectKey[] key)
subBytes(long indexFrom, long indexTo)
subString(long indexFrom, long indexTo)
endParameterFinderInMemory(long[] index)
tryToExtractObjectKeyOnTheRightSideInMemory(long index, ObjectKey[] key, long[] changedIndex)
forwardSpaceEaterInMemory(long[] index)
isEqual(byte[] firstArray, byte[] secondArray)
close()Closes all resources used by this instance.
dispose()Closes all resources used by this instance.

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:

ParameterTypeDescription
streamcom.aspose.ms.System.IO.FileStream
bufferSizeint
pdfObjectscom.aspose.ms.System.Collections.Generic.Dictionary<com.aspose.pdf.groupprocessor.ObjectKey,com.aspose.pdf.groupprocessor.ByteRange>
documentStartIndexlong

PdfArrayInBuffer(byte[] bytes, System.Collections.Generic.Dictionary<ObjectKey,ByteRange> pdfObjects)

public PdfArrayInBuffer(byte[] bytes, System.Collections.Generic.Dictionary<ObjectKey,ByteRange> pdfObjects)

Parameters:

ParameterTypeDescription
bytesbyte[]
pdfObjectscom.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:

ParameterTypeDescription
indexint

Returns: byte

get_Item(long index)

public byte get_Item(long index)

Parameters:

ParameterTypeDescription
indexlong

Returns: byte

indexOf(long indexFrom, long indexTo, byte pdfElement)

public long indexOf(long indexFrom, long indexTo, byte pdfElement)

Parameters:

ParameterTypeDescription
indexFromlong
indexTolong
pdfElementbyte

Returns: long

indexOf(long indexFrom, byte pdfElement)

public long indexOf(long indexFrom, byte pdfElement)

Parameters:

ParameterTypeDescription
indexFromlong
pdfElementbyte

Returns: long

lastIndexOf(byte pdfElement)

public long lastIndexOf(byte pdfElement)

Parameters:

ParameterTypeDescription
pdfElementbyte

Returns: long

lastIndexOf(long lastIndex, byte pdfElement)

public long lastIndexOf(long lastIndex, byte pdfElement)

Parameters:

ParameterTypeDescription
lastIndexlong
pdfElementbyte

Returns: long

findNextObject(long currentIndex, ObjectKey[] key)

public long findNextObject(long currentIndex, ObjectKey[] key)

Parameters:

ParameterTypeDescription
currentIndexlong
keycom.aspose.pdf.groupprocessor.ObjectKey[]

Returns: long

findNextEndobject(long currentIndex)

public long findNextEndobject(long currentIndex)

Parameters:

ParameterTypeDescription
currentIndexlong

Returns: long

extractObjectKeyOnTheRightSide(long index, ObjectKey[] key)

public long extractObjectKeyOnTheRightSide(long index, ObjectKey[] key)

Parameters:

ParameterTypeDescription
indexlong
keycom.aspose.pdf.groupprocessor.ObjectKey[]

Returns: long

subBytes(long indexFrom, long indexTo)

public byte[] subBytes(long indexFrom, long indexTo)

Parameters:

ParameterTypeDescription
indexFromlong
indexTolong

Returns: byte[]

subString(long indexFrom, long indexTo)

public String subString(long indexFrom, long indexTo)

Parameters:

ParameterTypeDescription
indexFromlong
indexTolong

Returns: java.lang.String

endParameterFinderInMemory(long[] index)

public void endParameterFinderInMemory(long[] index)

Parameters:

ParameterTypeDescription
indexlong[]

tryToExtractObjectKeyOnTheRightSideInMemory(long index, ObjectKey[] key, long[] changedIndex)

public boolean tryToExtractObjectKeyOnTheRightSideInMemory(long index, ObjectKey[] key, long[] changedIndex)

Parameters:

ParameterTypeDescription
indexlong
keycom.aspose.pdf.groupprocessor.ObjectKey[]
changedIndexlong[]

Returns: boolean

forwardSpaceEaterInMemory(long[] index)

public void forwardSpaceEaterInMemory(long[] index)

Parameters:

ParameterTypeDescription
indexlong[]

isEqual(byte[] firstArray, byte[] secondArray)

public static boolean isEqual(byte[] firstArray, byte[] secondArray)

Parameters:

ParameterTypeDescription
firstArraybyte[]
secondArraybyte[]

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.

 English
Morty Proxy This is a proxified and sanitized view of the page, visit original site.