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