Questions tagged [decoding]

Decoding is the reverse of encoding.

Decoding is the reverse of , which is the process of transforming information from one format into another understandable by a receiver. In communication theory and coding theory, decoding is the process of translating received messages into codewords of a given code. Like encoding, decoding applies to information of various forms:

1741 questions
0
votes
1 answer

How to decode hex code in an array in java

Need to decode hex code in array when accessed by index.User should enter array index and get decoded hex in array as output. import java.util.Scanner; class Find { static String[] data={ " \\x6C\\x65\\x6E\\x67\\x74\\x68", …
Arun Sivan
  • 1,680
  • 2
  • 12
  • 23
0
votes
0 answers

Flash Player Hardware decoding use or not?

When I use Flash Player hardware decoing, I found brwoser crash problem like below link. it can be solved by disabling hardware video decoding (netStream.useHardwareDecoder = false) But I would like to know the performance difference, when i use…
MrPark
  • 1
  • 1
0
votes
2 answers

Python Encoding Issues

I have data that I would like to decode from and its in Windows-1252 basically I send code to a socket and it sends it back and I have to decode the message and use IEEE-754 to get a certain value from it but I can seem to figure out all this…
cunniemm
  • 679
  • 5
  • 19
0
votes
1 answer

Cross Platform Url Encoding for Query Strings

There are multiple classes and functions in different Programming Languages for encoding and decoding strings to be URL friendly. For example in java URLEncoder.encode(String, String) in PHP urlencode ( string $str ) And ... My question is, If I…
madz
  • 1,803
  • 18
  • 45
0
votes
1 answer

How to auto detect a String encoding?

I have a String which contains some encoded values in some way like Base64. The problem is that I really don't know if it's actually Base64 (there are A-Z, a-z. 0-9, +, /) so it can be some any other code that i'm not familiar with. Is there a way…
The Dr.
  • 556
  • 1
  • 11
  • 24
0
votes
1 answer

How to convert string with ISO-8859-1 characters in Oct to normal form in Java

I have string with ISO-8859-1 characters in Oct (\350, ...). How to convert them to normal form, for example "\350" -> "è" in Java?
balytskyi
  • 303
  • 3
  • 10
0
votes
1 answer

What is the impact of different JPEG's type on different JPEG decoding sub-process.?

As we all know, the JPEG decoding process is shown in the following: VLD - Variable length decoding, ZZ - Zigzag scan, DQ - Dequantization, IDCT - Inverse discrete cosine transform, Color conversion (YUV to RGB) and reorder. My question is: for…
fluency03
  • 2,637
  • 7
  • 32
  • 62
0
votes
1 answer

How can i make this program look at more than the first character?

#include #include #include using namespace std; int main() { const int setNum = 26; vector normalV(setNum); vector cipherV(setNum); string toDec = ""; string beenDec = ""; int i = 0; normalV.at(i) = 'a';…
0
votes
1 answer

“Invalid mode encountered: 9” when decoding with NSpeex

Here is my code: public byte[] Decode(byte[] encodedData) { short[] decodedFrame = new short[160]; // should be the same number of samples as on the capturing side int decoderBytes = decoder.Decode(encodedData, 0, encodedData.Length,…
Strong84
  • 1,869
  • 2
  • 19
  • 24
0
votes
3 answers

Decode a signed cookie in rails?

So I have a signed cookie that has the following value IjVvVGdIOW1pUU44Qkk5NFZZUl9Udnci--a3c3b748fd207ba1c537b590dd458b4855677146 I need to decode it and get the following value 5oTgH9miQN8BI94VYR_Tvw I tried something like…
NoDisplayName
  • 15,246
  • 12
  • 62
  • 98
0
votes
0 answers

Decode Array (unit8_t array to char array)

I have a text representation of a encrypted buffer (via gcrypt) as follows: (enc-val (ecdh (s #04FA304FE9E91BED21E3C5898796056CE4E590E12BC74D0219A185D2E0B9B49A7393F023415F3E1FFD22D5B0A134E03F84D5C5DF7C5326C51971CFB783A26F1636#) (e…
Ed Johns
  • 211
  • 3
  • 11
0
votes
0 answers

Python 3 Socked string byte decoding

hi guys I try to build an simple client server application with Python3, that works quiet god, but i fail to format the text back to a 'nomral' string. I always get the 'b' prefex infront of my printed text. The Client Code: import…
v3nd3774
  • 213
  • 1
  • 2
  • 4
0
votes
0 answers

Android - SkImageDecoder::Factory only when i read image with extension .png

In my Android app i have to read a lot of images, for this reason i have implemented image caching. This is the method through which i decode my images(that were stored in the assets/ folder): private Bitmap getBitmapFromAsset(String strName) { …
Francesco Lombardo
  • 335
  • 1
  • 4
  • 15
0
votes
1 answer

encoding and decoding of audio files to send over the internet to decrease size. android

i am making an android app in which we transfer audio files over the internet . But as the file size is large we need to encode and decode mp3 and other formats which we are unable to find a way till now .Like whatsapp they decreasses the size by…
0
votes
2 answers

Getting unknown characters while decoding string in c#

I am working on a project where I am submitting my form data as xml and storing it in xml form to my db. While decoding the xml data in c# I am getting unknown characters. Actually I am saving spanish text for eg " Introduzca texto aquí ". So in…
rupinder18
  • 795
  • 1
  • 18
  • 43