object StringDecoders
- Alphabetic
- By Inheritance
- StringDecoders
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val KeepAll: Int
- val TrimBoth: Int
- val TrimLeft: Int
- val TrimNone: Int
- val TrimRight: Int
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
decodeAsciiBigDecimal(bytes: Array[Byte], isUnsigned: Boolean, allowSignOverpunch: Boolean, improvedNullDetection: Boolean): BigDecimal
Decode decimal number from an ASCII string converting it to a big decimal This decoder is used to convert decimal numbers with explicit decimal point
Decode decimal number from an ASCII string converting it to a big decimal This decoder is used to convert decimal numbers with explicit decimal point
- bytes
A byte array that represents the binary data
- allowSignOverpunch
if true, sign overpunching is allowed.
- returns
A big decimal containing a big integral number
-
final
def
decodeAsciiBigNumber(bytes: Array[Byte], isUnsigned: Boolean, allowSignOverpunch: Boolean, improvedNullDetection: Boolean, scale: Int = 0, scaleFactor: Int = 0): BigDecimal
Decode a number from an ASCII string converting it to a big decimal
Decode a number from an ASCII string converting it to a big decimal
- bytes
A byte array that represents the binary data
- allowSignOverpunch
if true, sign overpunching is allowed.
- scale
A decimal scale in case decimal number with implicit decimal point is expected
- scaleFactor
Additional zeros to be added before of after the decimal point
- returns
A big decimal containing a big integral number
-
final
def
decodeAsciiInt(bytes: Array[Byte], isUnsigned: Boolean, allowSignOverpunch: Boolean, improvedNullDetection: Boolean): Integer
Decode integral number from an ASCII string converting it to an integer
Decode integral number from an ASCII string converting it to an integer
- bytes
A byte array that represents the binary data
- allowSignOverpunch
if true, sign overpunching is allowed.
- returns
A boxed integer
-
final
def
decodeAsciiLong(bytes: Array[Byte], isUnsigned: Boolean, allowSignOverpunch: Boolean, improvedNullDetection: Boolean): Long
Decode integral number from an ASCII string converting it to an long
Decode integral number from an ASCII string converting it to an long
- bytes
A byte array that represents the binary data
- allowSignOverpunch
if true, sign overpunching is allowed.
- returns
A boxed long
-
final
def
decodeAsciiNumber(bytes: Array[Byte], isUnsigned: Boolean, allowSignOverpunch: Boolean, improvedNullDetection: Boolean): String
A decoder for any ASCII uncompressed numbers supporting leading and trailing sign
A decoder for any ASCII uncompressed numbers supporting leading and trailing sign
- bytes
A byte array that represents the binary data
- isUnsigned
Is the number expected to be unsigned
- allowSignOverpunch
if true, sign overpunching is allowed.
- improvedNullDetection
if true, return null if all bytes are zero
- returns
A string representation of the binary data
-
final
def
decodeAsciiString(bytes: Array[Byte], trimmingType: Int, improvedNullDetection: Boolean): String
A decoder for any ASCII string fields (alphabetical or any char)
A decoder for any ASCII string fields (alphabetical or any char)
- bytes
A byte array that represents the binary data
- trimmingType
Specifies if and how the soutput string should be trimmed
- improvedNullDetection
if true, return null if all bytes are zero
- returns
A string representation of the binary data
-
final
def
decodeEbcdicBigDecimal(bytes: Array[Byte], isUnsigned: Boolean, allowSignOverpunch: Boolean, improvedNullDetection: Boolean): BigDecimal
Decode decimal number from an EBCDIC string converting it to a big decimal This decoder is used to convert decimal numbers with explicit decimal point
Decode decimal number from an EBCDIC string converting it to a big decimal This decoder is used to convert decimal numbers with explicit decimal point
- bytes
A byte array that represents the binary data
- allowSignOverpunch
if true, sign overpunching is allowed.
- returns
A big decimal containing a big integral number
-
final
def
decodeEbcdicBigNumber(bytes: Array[Byte], isUnsigned: Boolean, allowSignOverpunch: Boolean, improvedNullDetection: Boolean, scale: Int = 0, scaleFactor: Int = 0): BigDecimal
Decode a number from an EBCDIC string converting it to a big decimal
Decode a number from an EBCDIC string converting it to a big decimal
- bytes
A byte array that represents the binary data
- allowSignOverpunch
if true, sign overpunching is allowed.
- scale
A decimal scale in case decimal number with implicit decimal point is expected
- scaleFactor
Additional zeros to be added before of after the decimal point
- returns
A big decimal containing a big integral number
-
final
def
decodeEbcdicInt(bytes: Array[Byte], isUnsigned: Boolean, allowSignOverpunch: Boolean, improvedNullDetection: Boolean): Integer
Decode integral number from an EBCDIC string converting it to an integer
Decode integral number from an EBCDIC string converting it to an integer
- bytes
A byte array that represents the binary data
- allowSignOverpunch
if true, sign overpunching is allowed.
- returns
A boxed integer
-
final
def
decodeEbcdicLong(bytes: Array[Byte], isUnsigned: Boolean, allowSignOverpunch: Boolean, improvedNullDetection: Boolean): Long
Decode integral number from an EBCDIC string converting it to an long
Decode integral number from an EBCDIC string converting it to an long
- bytes
A byte array that represents the binary data
- allowSignOverpunch
if true, sign overpunching is allowed.
- returns
A boxed long
-
final
def
decodeEbcdicNumber(bytes: Array[Byte], isUnsigned: Boolean, allowSignOverpunch: Boolean, improvedNullDetection: Boolean): String
A decoder for any EBCDIC uncompressed numbers supporting
A decoder for any EBCDIC uncompressed numbers supporting
- Separate leading and trailing sign
- Sign punched into the number
- Explicit decimal point
- bytes
A byte array that represents the binary data
- isUnsigned
Is the number expected to be unsigned
- allowSignOverpunch
if true, sign overpunching is allowed.
- improvedNullDetection
if true, return null if all bytes are zero
- returns
A string representation of the binary data
-
final
def
decodeEbcdicString(bytes: Array[Byte], trimmingType: Int, codePage: CodePage, improvedNullDetection: Boolean): String
A decoder for any EBCDIC string fields (alphabetical or any char)
A decoder for any EBCDIC string fields (alphabetical or any char)
- bytes
A byte array that represents the binary data
- trimmingType
Specifies if and how the soutput string should be trimmed
- codePage
EBCDIC code page
- improvedNullDetection
if true, return null if all bytes are zero
- returns
A string representation of the binary data
-
final
def
decodeHex(bytes: Array[Byte]): String
A decoder for representing bytes as hex strings
A decoder for representing bytes as hex strings
- bytes
A byte array that represents the binary data
- returns
A HEX string representation of the binary data
-
final
def
decodeRaw(bytes: Array[Byte]): Array[Byte]
A decoder that doesn't decode, but just passes the bytes the way they are.
A decoder that doesn't decode, but just passes the bytes the way they are.
- bytes
A byte array that represents the binary data
- returns
A string representation of the bytes
-
final
def
decodeUtf16String(bytes: Array[Byte], trimmingType: Int, isUtf16BigEndian: Boolean, improvedNullDetection: Boolean): String
A decoder for any UTF-16 string field
A decoder for any UTF-16 string field
- bytes
A byte array that represents the binary data
- trimmingType
Specifies if and how the soutput string should be trimmed
- improvedNullDetection
if true, return null if all bytes are zero
- returns
A string representation of the binary data
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()