Featured post

How to Decode TLV Quickly

In TLV, the format is Tag, Length, and Value. The TLV protocol needs this type of data. Here you will know how to decode TLV data. According to IBM , TLV data is three parts. The tag tells what type of data it is. The length field denotes the length of the value. The Value-field denotes the actual value. Structure of TLV. TLV comprises three field values.  Tag Length Value EMV formulated different tags. They have their meanings. Usually, the Tag and Length together takes 1 to 4 bytes. The Best example for TLV. In the below example, you can find the sample TAG, LENGTH, and VALUE fields. [Tag][Value Length][Value] (ex. " 9F4005F000F0A001 ") where Tag Name =  9F40 Value Length (in bytes) =  05  Value (Hex representation of bytes. Example, "F0" – 1-byte) =  F000F0A001 In the above message, tag 9F40 has some meaning designed by EMV company. Here  you can find a list of EMV Tags. How to read the TLV Tag: 1 or 2 bytes Length: Length of the Value. F0-00-F0-A0-01 ==> 5 By

JavaScript Vs JSON Top Differences

Today I woke up after my night sleep, and quickly I completed my daily routines. I thought a few minutes to write useful posts to my readers. I decided to write the differences between Javascript and JSON.

JavaScript Vs JSON Top Differences

JSON Quick Insights

  • JSON is simply a data-interchange format and, therefore, does not directly require the immediate knowledge of the JavaScript language.
  • JSON a subset of the JavaScript language.
  • Data exchange can occur between both browser and server and even server to server.
  • The file extension is .json.
  • You can structure the JSON as below:
  • A collection of name/value pairs.
  • An ordered list of values.
  • An introduction to JSON read here

JavaScript Quick Insights

  • JavaScript is a text-based scripting language, whereby sequences of Unicode characters strung together.
  • JavaScript supports two different types of data types.
  • Primitive and non-primitive. Primitive data types the best example is the Object. The non-primitive examples are number, string, Boolean, undefined, and null.
  • A semicolon is the line terminator in JavaScript.
  • The top control statements it supports are IF, ELSE, and FOR-loop.
  • The file extension is .js.
  • An introduction to JavaScript tread here.
Keep Reading

Comments

Popular posts from this blog

How to Fix Python Syntax Errors Quickly

Hyperledger Fabric: 20 Real Interview Questions

7 AWS Interview Questions asked in Infosys, TCS