public class BinaryDataEncoding extends DataEncoding
| Modifier and Type | Class and Description |
|---|---|
static class |
BinaryDataEncoding.Type |
sizeInBits| Constructor and Description |
|---|
BinaryDataEncoding(BinaryDataEncoding.Type type) |
BinaryDataEncoding(int sizeInBits) |
| Modifier and Type | Method and Description |
|---|---|
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, getFromBinaryTransformAlgorithm, getSizeInBits, setByteOrder, setFromBinaryTransformAlgorithm, setSizeInBitspublic BinaryDataEncoding(BinaryDataEncoding.Type type)
public BinaryDataEncoding(int sizeInBits)
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 DataEncodingCopyright © 2018 Space Applications Services. All rights reserved.