@Override
	public void decode(Decoder decoder, SleighLanguage lang) throws DecoderException {
		int el = decoder.openElement(ELEM_TOKENFIELD);
		bigendian = decoder.readBool(ATTRIB_BIGENDIAN);
		signbit = decoder.readBool(ATTRIB_SIGNBIT);
		bitstart = (int) decoder.readSignedInteger(ATTRIB_STARTBIT);
		bitend = (int) decoder.readSignedInteger(ATTRIB_ENDBIT);
		bytestart = (int) decoder.readSignedInteger(ATTRIB_STARTBYTE);
		byteend = (int) decoder.readSignedInteger(ATTRIB_ENDBYTE);
		shift = (int) decoder.readSignedInteger(ATTRIB_SHIFT);
		decoder.closeElement(el);
	}
A contiguous set of bits within instruction stream, interpreted
as an integer value
Ghidra/Framework/SoftwareModeling/src/main/java/ghidra/app/plugin/processors/sleigh/expression/TokenField.java