I am trying to convert a string with the byte number in it into a real byte.
var string = "23"; // Or it could be 4E, CA, 22, FF, or any other byte
var byte = somehowConvertStringToByte(string); // The variable "byte"
Should look like 0x23 to NodeJS
var otherByte = 0x23; // This is 100% equal to
Thank you so much. parseInt(string.slice(0,2), 16) worked perfectly!
On Thursday, December 4, 2014 9:40:20 AM UTC-6, Aria Stewart wrote:
>
>
> On Dec 3, 2014, at 9:36 PM, P THE AWESOME >
> wrote:
>
> I am trying to convert a string with the byte number in it into a real
&
There are lots of WebRTC libraries now, but I can't find a way to serve a
local video device. I am on Debian 7.8 (wheezy) with no GUI (terminal
only). I would like to only run a NodeJS server in the background, not a
browser.
--
Job board: http://jobs.nodejs.org/
New group rules:
https://gist
urday, January 31, 2015 at 3:53:13 PM UTC-6, mscdex wrote:
>
> On Saturday, January 31, 2015 at 4:10:06 PM UTC-5, P THE AWESOME wrote:
>>
>> There are lots of WebRTC libraries now, but I can't find a way to serve a
>> local video device. I am on Debian 7.8 (wheezy) with n