SubfileProperties

SubfileProperties

USA DL subfile properties, offset and length are set automatically.

Constructor

new SubfileProperties()

Source:

Methods

getLength()

4 These bytes contain a 4 digit numeric value that specifies the length of the Subfile in bytes.The segment terminator must be included in calculating the length of the subfile.A segment terminator = 1. Each subfile must begin with the two-character Subfile Type and these two characters must also be included in the length.

Source:

getOffset()

4 digit numeric value that specifies the number of bytes from the head or beginning of the file to where the data related to the particular sub-file is located.The first byte in the file is located at offset 0.

Source:

getType()

2 byte type of subfile, like "DL"

Source:

setLength()

4 These bytes contain a 4 digit numeric value that specifies the length of the Subfile in bytes.The segment terminator must be included in calculating the length of the subfile.A segment terminator = 1. Each subfile must begin with the two-character Subfile Type and these two characters must also be included in the length.

Source:

setOffset()

4 digit numeric value that specifies the number of bytes from the head or beginning of the file to where the data related to the particular sub-file is located.The first byte in the file is located at offset 0.

Source:

setType()

2 byte type of subfile, like "DL"

Source: