private byte[] createC13FileChecksumBytes(long offsetFilename, int type, byte[] bytes) {
		int len = bytes.length;
		int neededLen;
		switch (type) {
			case 0x00: // None
				neededLen = 0;
				break;
			case 0x01: // MD5
				neededLen = 16;
				break;
			case 0x02: // SHA1
				neededLen = 40;
				break;
			case 0x03: // SHA256
				neededLen = 64;
				break;
			default: // Unknown type
				neededLen = len; // We really don't know what length is needed, but this passes test
				break;
		}
		if (len != neededLen || len > 0xff) {
			throw new IllegalArgumentException("bad length");
		}

		PdbByteWriter writer = new PdbByteWriter();
		//Consider ByteBuffer.allocate().put().put().put().put().array() model in future?
		writer.putUnsignedInt(offsetFilename);
		writer.putUnsignedByte(neededLen);
		writer.putUnsignedByte(type);
		writer.putBytes(bytes);
		writer.putAlign(0);
		return writer.get();

	}
Creates byte array of data for a C13FileChecksum
@param offsetFilename unsigned integer value passed in a long
@param type unsigned byte value passed in an integer
@param bytes bytes of the checksum
@return final byte array of checksum data
Ghidra/Features/PDB/src/test/java/ghidra/app/util/bin/format/pdb2/pdbreader/C13SectionsTest.java