public class SignedIntegerToInteger extends TypeConverterBase
charset, config, defaultValue, format, nullFillerByte, paddingByte, rightPadding, signingType| Constructor and Description |
|---|
SignedIntegerToInteger() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
from(Object value,
int length,
int decimals,
boolean addPadding) |
protected byte[] |
getSignedBytes(String strValue,
boolean negative) |
protected String |
getSignedIntegerString(byte[] bytes,
int offset,
int length,
boolean removePadding) |
Object |
to(byte[] bytes,
int offset,
int length,
int decimals,
boolean removePadding) |
void |
validate(Class<?> type,
int size,
int decimals) |
copy, getString, initialize, padBytespublic void validate(Class<?> type, int size, int decimals)
public Object to(byte[] bytes, int offset, int length, int decimals, boolean removePadding)
public byte[] from(Object value, int length, int decimals, boolean addPadding)
protected String getSignedIntegerString(byte[] bytes, int offset, int length, boolean removePadding)
protected byte[] getSignedBytes(String strValue, boolean negative)
Copyright © 2016. All rights reserved.