public long getSize(DWARFFormContext context) throws IOException {
		switch (size) {
			case DWARF_INTSIZE:
				return context.compUnit().getIntSize();
			case LEB128_SIZE:
				return context.reader().readNext(LEB128::getLength);
			case DYNAMIC_SIZE:
				throw new IOException("Unimplemented size for " + this);
			default:
				return size;
		}
	}
Returns the size the attribute value occupies in the stream.
<p>
This default implementation handles static sizes, as well as LEB128 and DWARF_INT sizes.
DWARFForms that are more complex and marked as {@link #DYNAMIC_SIZE} will need to override
this method and provide custom logic to determine the size of a value.

@param context {@link DWARFFormContext}
@return size of the attribute value
@throws IOException if error reading
Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/dwarf/attribs/DWARFForm.java