How To Use Node JS Buffer Module To Encode/Decode String Object

JavaScript objects can only store character sequence values and can not store binary data. But you may need to read and store binary data when making I/O operations such as read/write image file, read/write binary stream through a network, etc. To resolve this issue, Node JS provides the Buffer module to store and manipulate binary

How To Use Node JS Buffer Module To Encode/Decode String Object Read More »

Fix Conflict With Dependency Error When Creating Android Project

When you create a new android project in android studio, you may encounter an error message like below. Error:Execution failed for task ‘:app:preDebugAndroidTestBuild’. > Conflict with dependency ‘com.android.support:support-annotations’ in project ‘:app’. Resolved versions for app (26.1.0) and test app (27.1.1) differ. See https://d.android.com/r/tools/test-apk-dependency-conflicts.html for details.

Fix Conflict With Dependency Error When Creating Android Project Read More »