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
1
Code specifying the type of filter used to convert data code values
BDS-02
Length of Binary Data
Numeric (N0)
Mandatory
1
15
1
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
1
A string of octets which can assume any binary pattern from hexadecimal 00 to FF

Stedi is a registered trademark of Stedi, Inc. Stedi's EDI Reference is provided for marketing purposes and is free of charge. All names, logos, and brands of third parties listed on our site are trademarks of their respective owners (including “X12”, which is a trademark of X12 Incorporated). Stedi, Inc. and its products and services are not endorsed by, sponsored by, or affiliated with these third parties. Our use of these names, logos, and brands is for identification purposes only, and does not imply any such endorsement, sponsorship, or affiliation.