Skip to content

Instantly share code, notes, and snippets.

@ubermuda
Created November 29, 2013 17:38
Show Gist options
  • Select an option

  • Save ubermuda/7709281 to your computer and use it in GitHub Desktop.

Select an option

Save ubermuda/7709281 to your computer and use it in GitHub Desktop.
bytes [1,0,0,0,0,0,0,239,191,189]
bytes length 10
bytes = stream.read(8)
if null == bytes
return
bytes = new Buffer(bytes)
debug 'bytes length ' + bytes.length
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment