BDS Binary Data Structure
BDS Binary Data Structure
To transfer binary data in a single data segment, convey a critical filter for transmission and allow identification of the end of the data segment through a count; there is no identification of the internal structure of the binary data in this segment
Position
Element
Name
Type
Requirement
Min
Max
Repeat
BDS-01
Filter ID Code
Identifier (ID)
Mandatory
3
3
-
Code specifying the type of filter used to convert data code values
BDS-02
Length of Binary Data
Numeric (N0)
Mandatory
1
15
-
The length in integral octets of the binary data
BDS02 is the length of the data in BDS03 after application of the filter indicated by BDS01. For example; a 1000 byte binary file that has been filtered using Base 64 encoding (value 'B64' in BDS01) will have a value of 1336 in the BDS02.
BDS-03
Binary Data
Binary (B)
Mandatory
1
10000000000000000
-
A string of octets which can assume any binary pattern from hexadecimal 00 to FF