Packages

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
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. lazy val ascii2ebcdic: Array[Byte]
  6. def asciiToEbcdic(char: Char): Byte

    Convert an ASCII character to EBCDIC

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

    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

    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

    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

    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]
  13. lazy val doubleL: Codec[Double]
  14. lazy val ebcdic2ascii: Array[Char]

    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

    Convert an EBCDIC character to ASCII

  16. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  18. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. lazy val floatB: Codec[Float]
  20. lazy val floatL: Codec[Float]
  21. def getBitCount(codec: Codec[_ <: AnyVal], comp: Option[Int], precision: Int): Int

    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
  23. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  24. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  25. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  26. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  27. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  28. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  29. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  30. def toString(): String
    Definition Classes
    AnyRef → Any
  31. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped