public int fillBuffer(byte[] buffer, int pos) {
			for (int i = 0; i < (int) repeatCount.value(); ++i) {
				if (simpleBlock != null) {
					for (byte element : simpleBlock) {
						buffer[pos] = element;
						pos += 1;
					}
				}
				else if (nestedBlock != null) {
					for (DataBlock block : nestedBlock) {
						pos = block.fillBuffer(buffer, pos);
					}
				}
			}
			return pos;
		}
Fill part of the buffer
@param buffer The buffer to fill
@param pos The next position to fill
@return The position after the block
Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/omf/omf/OmfIteratedData.java