public class OptionParser extends Object
Modifier and Type | Field and Description |
---|---|
byte[] |
data
The byte array of the data without the header.
|
Integer |
methodNumber
The number of the method.
|
Integer |
outputLength
The length of the output array.
|
Integer |
param
The integer encoding the parameter.
|
Constructor and Description |
---|
OptionParser(byte[] inputData)
Constructor to take the options from the byte array and allow
access to the options and the raw data.
|
OptionParser(Integer methodNumber,
Integer outputLength,
Integer param)
Construct the option header from the input variables.
|
Modifier and Type | Method and Description |
---|---|
byte[] |
getHeader()
Get the header for this option as a byte array.
|
public byte[] data
public Integer methodNumber
public Integer outputLength
public Integer param
Copyright © 2015–2016 RCSB PDB. All rights reserved.