Class: ByteRange

PDFNet. ByteRange


new ByteRange( [m_offset] [, m_size])

This class represents a Byte Range.
Parameters:
Name Type Argument Description
m_offset number <optional>
m_size number <optional>
Properties:
Name Type Description
m_offset number
m_size number

Methods


getEndOffset()

Retrieves the end offset of the byte range.
Returns:
A promise that resolves to an unsigned integer.
Type
Promise.<number>

getSize()

Retrieves the size of the byte range.
Returns:
A promise that resolves to an unsigned integer.
Type
Promise.<number>

getStartOffset()

Retrieves the start offset of the byte range.
Returns:
A promise that resolves to an unsigned integer.
Type
Promise.<number>