hex
Java decimal/ascii and base converting
I\'m converting code from perl to java.I\'m sort of stuck on finding the equivalents in java. Here\'s my Perl code:[详细]
2023-03-26 10:57 分类:问答Problem running a python script (pypdf/hex errors)
I am trying to create a Python script using the PyPDF Module. What the script does it take the \'Root\' folder, merges all the PDFs in it and outputs the merged PDF in an \'Output\' folder and renames[详细]
2023-03-25 22:19 分类:问答Comparing Bytes to Hex?
I need to compare the first 5 bytes of a UDP packet to two definitions, and act on them accordingly if it matches one. However, how should I represent the Hex for this since this obviously won\'t/isn\[详细]
2023-03-25 09:27 分类:问答Methods for identifying encoding type using php
I have a PHP string type variable which may come encoded in Hexadecimal pattern or in Base64. For example:[详细]
2023-03-25 09:26 分类:问答Convert two ASCII Hexadecimal Characters (Two ASCII bytes) in one byte
I want to convert two ASCII bytes to one hexadecimal byte. eg. 0x30 0x43 => 0x0C , 0x34 0x46 => 0x4F ...[详细]
2023-03-25 06:48 分类:问答Can you decorate a hexadecimal constant so it's interpreted as a float?
Just curious about something. While converting HTML colors (whose individual color components are represented via 2-digit hexadecimal values) to floats开发者_开发问答 between 0.0 and 1.0 so we can use[详细]
2023-03-24 17:25 分类:问答How to generate checksum from hex byte using python
I am creating a hex file using python and at the end I need to add a checksum that consists of sum of all hex values so that checksum = Byte 0x000000 + Byte 0x000001 + … + Byte 0x27DAFF (not includin[详细]
2023-03-24 12:34 分类:问答How to simulate carriage return (HEX 0A) in ASCII or normal text?
i am required to simulate a carriage return (0A) to save into the database from a web application so that开发者_StackOverflow中文版 i can prove that the system is not cleaning data causing some issues[详细]
2023-03-24 05:10 分类:问答Convert hexdump to byte sequence
I am trying to register a specific program to run binaries that contain a magic number by using binfmt_misc on Linux.[详细]
2023-03-24 03:39 分类:问答How do I convert a Hex color to VBA color to use in Powerpoint in T-SQL?
I need to create开发者_JAVA百科 a function in T-SQL that will take a Hex color and convert it into a color number to use in VBA for Powerpoint.Here is the correct answer: B*65536 + G*256 + R[详细]
2023-03-24 03:36 分类:问答