Questions tagged [decoder]

A device or a software which purpose is to decode an encoded signal or stream.

A device or a software which purpose is to decode an encoded signal or stream.

538 questions
-1
votes
1 answer

Make Swift JSONDecoder not fail when type on key not match

I have one simple struct like that: struct Object: Codable { let year: Int? … } It's fine when decode JSON like { "year": 10, … } or no year in JSON. But will fail decode when JSON has different type on key: { "year": "maybe string value"…
user25917
  • 797
  • 7
  • 18
-1
votes
2 answers

Argument of type "unsigned char *" is incompatible with parameter of type "const char *"

I was using the Decoder for Microsoft Script Encoder. It works perfectly well when I run it in Codeblocks. But when I run it in Visual Studio, it shows me the following errors Snippet 1: char decodeMnemonic(unsigned char *mnemonic) { int i =…
Raisa A
  • 437
  • 7
  • 21
-1
votes
2 answers

how can i make a decorder and encoder?

I made my own digital language and i want to make a decoder and an encoder for that, so for example when i write down "bees" it gives me something like "$@@%" and when i write ` "$@@%" ` it gives me "bees" so it encodes things according…
-1
votes
1 answer

SWIFT 4, Xcode 9, JSON DECODER

I'm pretty stuck now. I'm attempting to PARS a JSON RETURN for just the year make make and model. It's buried in an array of dictionaries, and the decoder is having a hard time pulling them out. What am I doing wrong? public struct Page:…
-1
votes
1 answer

Base64 multiple lines decoder

I am looking for a perl script able to decode multiple lines of Base64 encoded strings. I found a few tools to do the job line by line. Which is really time consuming considering the amount of lines that I have. I can have all the strings in one…
-1
votes
1 answer

Image not getting displayed in imageView (TileView)

I am having issues setting my custom decoder in setDecoder() method of TileView android library. Nothing is getting displayed on the screen. I am having a svg image and converting the same into a bitmap using android svg library.Kindly help. PFB the…
DSM
  • 1
  • 1
-1
votes
1 answer

Viewstate decoder for asp.net 2

I need to decode a viewstate value in asp.net framework 2. How can I do that? I tried to use Fiddler2 extention but it didn't help me. Thank you!
user3226885
  • 25
  • 1
  • 2
-1
votes
1 answer

How can i decode the string encoded in c# using utf8

I encode string in c# using this code System.Text.UTF8Encoding encoding=new System.Text.UTF8Encoding(); byte[] asciiBytes =encoding.GetBytes(result); but I cant decode asciibytes to string can any one help me??
-1
votes
2 answers

Special chacacters in python 3.3

I'm trying to do a small decoder. I want to assign the value 'a' to the special letter "(" example: ( = "a" and if I input "(" it prints it to "a" like: If I enter "(%!)(": It prints the equivalent for each character like: LadyBa Hope you…
Killer B
  • 49
  • 2
  • 9
-1
votes
1 answer

How to get rid of noise in a signal?

I have been trying to figure out this problem all week. My main problem is seperating the sound from the noise in the signal (see plotted example: In between these small noises are dtmf tones. Once I get the index of the starting and ending points…
-2
votes
2 answers

How to Decode a CSR in .net,php,cgi,etc

How to Decode a CSR in .net,php,cgi,etc wth a output like CN OU O L S C
user1183408
  • 1
  • 1
  • 1
-2
votes
0 answers

Can a decoder of an autoencoder be used for classfication of various actions without using any additional classifier like softmax classifier?

If anyone have python code, please share the code for using the decoder to classify or recognize the action? I am new to Deep learning and machine learning codings. My already used codes (which I have taken from github repository) are: %matplotlib…
-2
votes
1 answer

How to decode this goto

What is this numbers name ?hash or what is this ? header("\110\124\124\x50\x2f\x31\x2e\x30\40\x34\60\x34\x20\x4e\x6f\164\40\106\157\x75\156\144"); How to decode this values of numbers? goto S_O42; cZvRL: echo $MxiEw["\x61\160\151"]; goto NPM4C;…
Luke mos
  • 1
  • 1
-2
votes
2 answers

swift how to initialize a Codable Object

I want to initialize a Codable Object, for example: struct Student: Codable { let name: String? let performance: String? enum CodingKeys: String, CodingKey { case name, performance } init(from decoder: Decoder) { let…
malcopolocei
  • 123
  • 1
  • 9
-2
votes
2 answers

Javascript Decoder

I was having problem with my encoder, since it is not working as I expected. The variable "message" declared throught a input added in my html page var ENCODE_OPC = ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p',…
1 2 3
35
36