private static GoVerEndian readMagic(ByteProvider provider) throws IOException {
		BinaryReader reader = new BinaryReader(provider, true);
		
		int magicInt = reader.readInt(LittleEndianDataConverter.INSTANCE, 0);
		GoVer ver = magicToVer(magicInt);
		if ( ver != GoVer.INVALID ) {
			return new GoVerEndian(ver, Endian.LITTLE);
		}
		magicInt = reader.readInt(BigEndianDataConverter.INSTANCE, 0);
		ver = magicToVer(magicInt);
		if ( ver != GoVer.INVALID ) {
			return new GoVerEndian(ver, Endian.BIG);
		}
		return null;
	}
Returns the pointer size
@return pointer size
Ghidra/Features/Base/src/main/java/ghidra/app/util/bin/format/golang/rtti/GoPcHeader.java