func (b *BasicMessage) FindMarshaledSegment(segmentID string) []byte {
	for _, segment := range b.HBCIMessage.HBCISegments() {
		if segment.Header().ID.Val() == segmentID {
			return []byte(segment.String())
		}
	}
	return nil
}
// FindMarshaledSegment returns the first segment found for segmentID as []byte, or
// nil if nothing found
FindMarshaledSegment returns the first segment found for segmentID as []byte, or
nil if nothing found
// FindMarshaledSegment returns the first segment found for segmentID as [] byte or // nil if nothing found
func (b *BasicMessage) FindMarshaledSegment(segmentID string) []byte {
	for _, segment := range b.HBCIMessage.HBCISegments() {
		if segment.Header().ID.Val() == segmentID {
			return []byte(segment.String())
		}
	}
	return nil
}
func ( b * BasicMessage ) FindMarshaledSegment ( segmentID string ) [ ] byte { for _ , segment := range b . HBCIMessage . HBCISegments ( ) { if segment . Header ( ) . ID . Val ( ) == segmentID { return [ ] byte ( segment . String ( ) ) } } return nil }
FindMarshaledSegment returns the first segment found for segmentID as []byte, or
nil if nothing found
FindMarshaledSegment returns the first segment found for segmentID as [] byte or nil if nothing found