binary-data Questions

4

Solved

This site had helped me a lot in the past, but now I am lost. Thanks in advance for your guidance. I have a MySQL table that contains a Binary value, like the example below. I cannot change the ta...
Rad asked 24/1, 2013 at 16:7

3

Solved

The task is not to gather Performance counters data in my .NET app, but open already prepared binary log files (*.blg)? I know that MS SQL Profiler (.NET app) can parse binary logs.
Type asked 9/12, 2010 at 9:8

3

Solved

I have a simple binary file that contains 32-bit floats adjacent to each other. Using Julia, I would like to read each number (i.e. each 32-bit word) and put them each sequentially into a array of...
Maje asked 11/8, 2014 at 21:24

1

here's the flow of what I have to do: take image with image picker for react native and get the image data in base64 (sourceData) ImagePicker.showImagePicker(imagePickerOptions, (response) =&g...
Carbonado asked 3/11, 2019 at 10:16

3

I'm trying to render an user image that comes from soap server response, it not should be difficult but i dont know how start to do. This is the code of the request way: this.http.post(wsurl, xml...
Undercharge asked 7/11, 2017 at 15:21

1

iOS 13's CryptoKit framework provides a .rawRepresentation value for ECDSA public and private keys. I've been trying to reverse-engineer the rawRepresentation data type to convert between it and JW...
Tailpiece asked 26/7, 2019 at 19:2

2

Solved

I have some binary data to transfer in addition to some other metadata information stored as string, number etc. The binary data I have is image files stored as a blob column in the database, I wan...
Urinate asked 8/8, 2018 at 16:11

7

The closest contenders that I could find so far are yEnc (2%) and ASCII85 (25% overhead). There seem to be some issues around yEnc mainly around the fact that it uses an 8-bit character set. Which ...

2

I need to decode a base64 string and take a chunk of binary. Is there a SQL function in Postgres to simply convert a bytea into a binary string representation? (Like "00010001010101010".)
Insolvable asked 6/5, 2019 at 14:33

2

Solved

I am hitting an api to get an image that they have stored and use it as the profile pic for our application's users. I'm using Ruby on Rails and ActiveStorage with AWS to attach and store the image...

3

Solved

I've been given the task of polishing the interface of a codec library. We're using C++17, and I can only use the standard library (i.e. no Boost). Currently, there's a Decoder class that looks rou...
Subassembly asked 13/4, 2019 at 22:13

1

I am reading a binary file and want to transform it into a String. How do I do it in Dart?
Thermion asked 17/1, 2019 at 21:46

1

I am trying to create an app that talks to the Ricoh Theta S camera using HTTP requests ... they are compliant with Open Spherical Camera API Version 1.0 ... here is their api reference So I am tr...
Puryear asked 4/11, 2015 at 9:44

1

Solved

I need to decide on a schema for including binary elements into a message object so that it can be decoded again on the receiving end (In my situation a consumer on an Rabbit MQ / AMQP queue). I d...
Ebonyeboracum asked 27/12, 2018 at 9:47

1

Solved

I have a bytes::Bytes (in this case its the body of a request in actix-web) and another function that expects a string slice argument: foo: &str. What is the proper way to convert the bytes::By...
Staal asked 18/12, 2018 at 21:42

5

I know how computers translate numbers to binary. But what I don't understand is that I've heard that computers translate everything (words, instructions, ...) to binary, not just numbers. How is t...

2

Solved

I've seen several tutorial explaining how to convert binary image into encode64 representations: var image = new Buffer(bl.toString(), 'binary').toString('base64'); My question is, how to return...
Leavis asked 29/11, 2011 at 4:47

1

Solved

Python provides the following three modules that deal with C types and how to handle them: struct for C structs array for arrays such as those in C ctypes for C functions, which necessarily entai...
Scheer asked 24/8, 2018 at 12:15

0

I'm trying to send a bunch of gzip compressed data (basically a json, compressed using gzip) to my Spring Web Flux application. I'm currently using Postman as my web client, and sending the data v...
Crew asked 2/8, 2018 at 7:37

3

Consider the set, S, of all binary vectors of length n where each contains exactly m ones; so there are n-m zeros in each vector. My goal is to construct a number, k, of vectors from S such that t...

4

Solved

Is it possible to read a large binary file from a particular position? I don't want to read the file from the beginning because I can calculate the start position and the length of the stream I ne...
Episcopalism asked 13/7, 2011 at 6:10

0

I need to store in SQL Server a list of items uniquely identified by a hash. In C# I compute my hash as MD5 hash of concatenation of the item ids ( Guid ). Currently, my hash has datatype byte[] ...
Taken asked 10/4, 2018 at 19:18

5

Solved

I have a MySQL database containing a table with a binary-typed column. I'd like to be able to project that column without having to run it through, e.g., HEX(). Does the mysql CLI tool have a confi...
Prole asked 23/3, 2012 at 15:47

2

Solved

I need to write an application which would be able to process binary data sent by CUrl, such as: curl localhost:8080/data --data-binary @ZYSF15A46K1.txt I've created a POST processing method as ...
Sadfaced asked 27/4, 2016 at 22:1

9

Solved

Which is a better c++ container for holding and accessing binary data? std::vector<unsigned char> or std::string Is one more efficient than the other? Is one a more 'correct' usage?
Allrud asked 12/10, 2009 at 18:45

© 2022 - 2024 — McMap. All rights reserved.