hex tag

10 questions


1 answers
146 views
0
How to change int to hex

int_value = -13516;There's a value like this, but I want to change it to a hexadecimal value.hex_value = Integer.toHexString(int_value);I did it like above, but the value comes out ffffcb34But what I ...

2 years ago

1 answers
153 views
0
Is there a method to help with the essence conversion in Java?

I want to make a game that helps me understand the essence, but I need to convert it to compare the answers to the questions. I can implement it myself, but if there is a method supported by Java, it ...


1 answers
112 views
0
How to change the color integer value to hex String on Android

An integer value was generated in android.graphics.Color. The integer value is -16776961.I'd like to change this value to #RRGGBB format for hexString. How shall I do it?For example, I want to change ...

2 years ago

1 answers
81 views
0
How to convert decimal to hex in JavaScript

How do I convert decimal to hexadecimal in JavaScript?

2 years ago

1 answers
160 views
0
Parsing network response raw data (null byte representation problem)

Hi, everyone. I'm going to parse the data that the viewer handles, which can only be installed through ActiveX in Internet Explorer. Right before the viewer on the web loads the data through Wireshark...

2 years ago

1 answers
160 views
0
How to convert hexadecimal strings to byte arrays in Java

I'm looking for a way to convert a long hexadecimal string into a byte array. If I have the string 00A0BF, I want to change it to {0x00, 0xA0, 0xBF} byte[], what should I do?I'm a beginner at Java, bu...

2 years ago

1 answers
120 views
0
When you represent transparency in a color representation in hexadecimal,

I'm implementing transparency options on the widget, but the hexadecimal color value is a problem. If you want to give 50% transparency to colors like #33b5e5 in hexadecimal color expression, you can ...


1 answers
129 views
0
To convert a hex string to an integer

in python scriptWhen the string stores hexadecimal digitsHow do I convert this string to int?For example,str1 = 0xffffstr2 = ffffWhen we're together

2 years ago

1 answers
73 views
0
I want to understand how to express colors on Android. (Expressing it in six digits)

I'm studying how to express colors on Android. I gave the background color to the linear layout as shown below.If you test it, there's a bit of transparency in gray.<gradient android:startColor=#b4...


1 answers
71 views
0
I'd like to convert hex format data received through web api from Pysun to json through code.

I'm a student studying blockchain and bitcoin.I got raw block data of bitcoin block through web api as below.url=https://blockchain.info/rawblock/00000000000000000002447735c7723ee9188322c0938e6587866a...


© 2024 OneMinuteCode. All rights reserved.