Decodes EBCDIC values to their corresponding C# objects.
More...
Decodes EBCDIC values to their corresponding C# objects.
Summer.Batch.Extra.Ebcdic.Encode.EbcdicDecoder.EbcdicDecoder |
( |
Encoding |
encoding | ) |
|
Custom constructor given encoding
- Parameters
-
Summer.Batch.Extra.Ebcdic.Encode.EbcdicDecoder.EbcdicDecoder |
( |
string |
encodingName | ) |
|
Custom constructor given encoding name
- Parameters
-
object Summer.Batch.Extra.Ebcdic.Encode.EbcdicDecoder.Decode |
( |
byte[] |
bytes, |
|
|
FieldFormat |
fieldFormat |
|
) |
| |
Main decode method. Switch based on the given FieldFormat
- Parameters
-
- Returns
- Exceptions
-
UnexpectedFieldTypeException | |
static decimal Summer.Batch.Extra.Ebcdic.Encode.EbcdicDecoder.ParsePacked |
( |
byte[] |
bytes | ) |
|
|
static |
Parses a packed number
- Parameters
-
bytes | a byte array where a number has been pack encoded |
- Returns
- the encoded number
static decimal Summer.Batch.Extra.Ebcdic.Encode.EbcdicDecoder.ParsePacked |
( |
byte[] |
bytes, |
|
|
int |
start, |
|
|
int |
end |
|
) |
| |
|
static |
Parses a packed number
- Parameters
-
bytes | a byte array where a number has been pack encoded |
start | the beginning index, inclusive |
end | the end index, exclusive |
- Returns
- the encoded number
static decimal Summer.Batch.Extra.Ebcdic.Encode.EbcdicDecoder.ParseZoned |
( |
string |
value | ) |
|
|
static |
Parses a Zoned number
- Parameters
-
value | a string where a number has been zone encoded |
- Returns
- the encoded number
The documentation for this class was generated from the following file:
- Summer.Batch.Extra/Ebcdic/Encode/EbcdicDecoder.cs