SubfileProperties

SubfileProperties class

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

new SubfileProperties()

Methods

NameDescription
getLength()4 These bytes contain a 4 digit numeric value that specifies the length of the Subfile in bytes.The segment terminator m
getOffset()4 digit numeric value that specifies the number of bytes from the head or beginning of the file to where the data relate
getType()2 byte type of subfile, like “DL”
setLength()4 These bytes contain a 4 digit numeric value that specifies the length of the Subfile in bytes.The segment terminator m
setOffset()4 digit numeric value that specifies the number of bytes from the head or beginning of the file to where the data relate
setType()2 byte type of subfile, like “DL”

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.

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.

getType()

2 byte type of subfile, like “DL”

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.

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.

setType()

2 byte type of subfile, like “DL”