public interface BaseCodecMetrics
extends org.refcodes.mixin.CharSetAccessor, org.refcodes.numerical.PaddingCharAccessor
BaseCodecBuilder
.org.refcodes.mixin.CharSetAccessor.CharSetBuilder<B extends org.refcodes.mixin.CharSetAccessor.CharSetBuilder<B>>, org.refcodes.mixin.CharSetAccessor.CharSetMutator, org.refcodes.mixin.CharSetAccessor.CharSetProperty
org.refcodes.numerical.PaddingCharAccessor.PaddingCharBuilder<B extends org.refcodes.numerical.PaddingCharAccessor.PaddingCharBuilder<B>>, org.refcodes.numerical.PaddingCharAccessor.PaddingCharMutator, org.refcodes.numerical.PaddingCharAccessor.PaddingCharProperty
Modifier and Type | Method and Description |
---|---|
int |
getBitsPerDigit()
Number in bits for one digit.
|
int |
getBytesPerInt()
Number of bytes to exactly store a minimum number of digits.
|
char[] |
getCharSet()
Character set to be used by the given enumeration.
|
int |
getDigitMask()
The digit mask is the bit-field covering just the digit's bits (starting
at bit 0).
|
int |
getDigitsPerByte()
Number of digits required to represent a byte.
|
int |
getDigitsPerInt()
Number of digits stored in an integer.
|
int |
getNumberBase()
Number base as integer.
|
char |
toChar(int aValue)
Retrieves the (encoded) character for the (decoded) value.
|
int |
toValue(char aChar)
Retrieves the (decoded) value for the (encoded) character.
|
int getNumberBase()
char[] getCharSet()
getCharSet
in interface org.refcodes.mixin.CharSetAccessor
int getBytesPerInt()
int getDigitsPerInt()
int getBitsPerDigit()
int getDigitsPerByte()
int getDigitMask()
int toValue(char aChar)
char toChar(int aValue)
Copyright © 2016. All rights reserved.