The %x verb will scan a hexadecimal integer but not the 0x prefix. You may add that prefix to the format string: var decode int numRead, err := fmt.Sscanf(
確定! 回上一頁