title: how to implement a readUInt16BE function in node.js
body: <p>The readUint16BE function in node.js, the function declare is: </p>
  
  <pre><code>buf.readUInt16BE(offset, [noAssert])
  </code></pre>
  
  <p>doc: 
  <a href="http://nodejs.org/api/buffer.html#buffer_buf_readuint16be_offset_noassert" rel="nofollow">http://nodejs.org/api/buffer.html#buffer_buf_readuint16be_offset_noassert</a></p>
  
  <blockquote>
    <p>Reads an unsigned 16 bit integer from the buffer at the specified offset with specified endian format.</p>
  </blockquote>
  
  <p>how to implement in golang? thanks very much </p>
  
  <p>or golang have some function like  readUint16BE ??</p>