public abstract class DataEncoding extends Object implements Serializable
| Modifier and Type | Field and Description |
|---|---|
protected int |
sizeInBits
size in bits if known.
|
| Modifier and Type | Method and Description |
|---|---|
ByteOrder |
getByteOrder() |
Algorithm |
getFromBinaryTransformAlgorithm() |
int |
getSizeInBits() |
abstract 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 |
setByteOrder(ByteOrder order) |
void |
setFromBinaryTransformAlgorithm(Algorithm fromBinaryTransformAlgorithm) |
void |
setSizeInBits(int sizeInBits) |
protected int sizeInBits
public int getSizeInBits()
public void setSizeInBits(int sizeInBits)
public ByteOrder getByteOrder()
public void setByteOrder(ByteOrder order)
public abstract Object parseString(String stringValue)
public Algorithm getFromBinaryTransformAlgorithm()
public void setFromBinaryTransformAlgorithm(Algorithm fromBinaryTransformAlgorithm)
Copyright © 2018 Space Applications Services. All rights reserved.