Object

za.co.absa.cobrix.cobol.parser.decoders

BinaryUtils

Related Doc: package decoders

Permalink

object BinaryUtils

Utilites for decoding Cobol binary data files *

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. BinaryUtils
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. lazy val ascii2ebcdic: Array[Byte]

    Permalink
  6. def asciiToEbcdic(char: Char): Byte

    Permalink

    Convert an ASCII character to EBCDIC

  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def decodeBinaryNumber(bytes: Array[Byte], bigEndian: Boolean, signed: Boolean, scale: Int = 0, scaleFactor: Int = 0): String

    Permalink

    A generic decoder for 2s compliment binary numbers aka COMP

    A generic decoder for 2s compliment binary numbers aka COMP

    bytes

    A byte array that represents the binary data

    returns

    A string representation of the binary data

  9. def decodeDouble(bytes: Array[Byte]): Double

    Permalink

    A decoder for IEEE-754 big endian doubles

    A decoder for IEEE-754 big endian doubles

    bytes

    A byte array that represents the binary data

    returns

    A boxed double

  10. def decodeFloat(bytes: Array[Byte]): Float

    Permalink

    A decoder for IEEE-754 big endian floats

    A decoder for IEEE-754 big endian floats

    bytes

    A byte array that represents the binary data

    returns

    A boxed float

  11. def decodeString(enc: Encoding, bytes: Array[Byte], length: Int): String

    Permalink

    A decoder for any string fields (alphabetical or any char)

    A decoder for any string fields (alphabetical or any char)

    bytes

    A byte array that represents the binary data

    returns

    A string representation of the binary data

  12. lazy val doubleB: Codec[Double]

    Permalink
  13. lazy val doubleL: Codec[Double]

    Permalink
  14. lazy val ebcdic2ascii: Array[Char]

    Permalink

    This is the EBCDIC to ASCII conversion table.

    This is the EBCDIC to ASCII conversion table. This is an "invariant" subset of EBCDIC code pages. For full EBCDIC code pages support please use za.co.absa.cobrix.cobol.parser.encoding.codepage.CodePage implementations.

  15. def ebcdicToAscii(byte: Byte): Char

    Permalink

    Convert an EBCDIC character to ASCII

  16. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  17. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  18. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. lazy val floatB: Codec[Float]

    Permalink
  20. lazy val floatL: Codec[Float]

    Permalink
  21. def getBitCount(codec: Codec[_ <: AnyVal], comp: Option[Int], precision: Int): Int

    Permalink

    Get the bit count of a cobol data type

    Get the bit count of a cobol data type

    codec

    EBCDIC / ASCII

    comp

    A type of compact stirage

    precision

    The precision (the number of digits) of the type

  22. def getBytesCount(compression: Option[Usage], precision: Int, isSigned: Boolean, isExplicitDecimalPt: Boolean, isSignSeparate: Boolean): Int

    Permalink
  23. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  24. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  25. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  26. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  27. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  28. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  29. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  30. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  31. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped