public class BinaryDataEncoding extends DataEncoding
| Modifier and Type | Class and Description |
|---|---|
static class |
BinaryDataEncoding.Type |
sizeInBits| Constructor and Description |
|---|
BinaryDataEncoding(BinaryDataEncoding.Type type) |
BinaryDataEncoding(BinaryDataEncoding bde)
copy constructor
|
BinaryDataEncoding(int sizeInBits) |
| Modifier and Type | Method and Description |
|---|---|
BinaryDataEncoding |
copy()
Create a shallow copy of the data encoding
|
int |
getSizeInBitsOfSizeTag() |
BinaryDataEncoding.Type |
getType() |
Object |
parseString(String stringValue)
parses the string into a java object of the correct type
Has to match the DataEncodingDecoder (so probably it should be moved there somehow: TODO)
|
void |
setSizeInBitsOfSizeTag(int sizeInBits) |
void |
setSizeType(BinaryDataEncoding.Type sizeType) |
String |
toString() |
getByteOrder, getDependentParameters, getFromBinaryTransformAlgorithm, getSizeInBits, setByteOrder, setFromBinaryTransformAlgorithm, setSizeInBitspublic BinaryDataEncoding(BinaryDataEncoding.Type type)
public BinaryDataEncoding(int sizeInBits)
public BinaryDataEncoding(BinaryDataEncoding bde)
bde - public void setSizeType(BinaryDataEncoding.Type sizeType)
public BinaryDataEncoding.Type getType()
public int getSizeInBitsOfSizeTag()
public void setSizeInBitsOfSizeTag(int sizeInBits)
public Object parseString(String stringValue)
DataEncodingparseString in class DataEncodingpublic BinaryDataEncoding copy()
DataEncodingcopy in class DataEncodingCopyright © 2020 Space Applications Services. All rights reserved.