pack
Reading BMP headers, packed. Reading incorrect values
I\'ve recently made a program to read the fileheader and infoheader of a BMP file. I packed them as shown, fread them, and print the width and height. Unfortunatly the width and height come up as inco[详细]
2023-04-12 16:54 分类:问答How do I pack a JDialog with a JPanel that contains a GridLayout?
I\'m creating a dialog as part of Java application. I\'m using groovy\'s swingBuilder and I\'m experiencing some difficulty when trying to pack a JDialog. See the code below:[详细]
2023-04-11 06:17 分类:问答Warning on pack() in the push notifications script
I\'m writing my push notifications script in PHP. the $deviceToken is correct, but I\'ve a warning in this line:[详细]
2023-04-04 19:32 分类:问答Loading a configuration file in wpf web application
I have a WPF Browser application in which I am trying to load a config开发者_运维百科uration file.[详细]
2023-03-30 22:30 分类:问答How to pack a UUID into a struct in Python?
I have a UUID that I was thinking of packing into a struct using UUID.int,开发者_开发技巧 which turns it into a 128-bit integer. But none of the struct format characters are large enough to store it,[详细]
2023-03-24 09:22 分类:问答How do I use the PHP Pack function to pack an integer into a byte array?
The following C# code is used in a service I have inherited, to convert a small integer into 3 bytes so that it can be sent over a socket.[详细]
2023-03-20 04:39 分类:问答How to reverse this php code "pack("L", 1000);"?
I have a code that look like this: echo bin2hex( pack( \"L\", 1000 ) ); Which prints: e8030000 Now, ha开发者_开发技巧ving only e8030000, how can I reverse it back to the int 1000 ?[详细]
2023-03-16 20:10 分类:问答Java equivalent for PHP's pack function
I have a sample application which generates a SHA1 hash in PHP as follows. base64_encode(pack(\'H*\', sha1($pass)));[详细]
2023-03-14 19:09 分类:问答Perl's Pack('V') function in Python?
I\'ve been working on some exploit development recently to get ready for a training course, and I\'ve run into a problem with a tutorial. I\'ve been following along with all the tutorials I can find,[详细]
2023-03-13 14:22 分类:问答using struct.pack to pack a numpy.float32 into 4 bytes
Hey all, I\'m having a little trouble packing a numpy.float32 using the struct.pack function. f32 = 38.2[详细]
2023-03-10 12:08 分类:问答