async function readShort(
  buf,
) {
  const high = await buf.readByte();
  if (high === null) return null;
  const low = await buf.readByte();
  if (low === null) throw new Deno.errors.UnexpectedEof();
  return high << 8 | low;
}
/** Read big endian 16bit short from BufReader */
Read big endian 16bit short from BufReader
Read big endian 16bit short from BufReader
async function readShort(
  buf,
) {
  const high = await buf.readByte();
  if (high === null) return null;
  const low = await buf.readByte();
  if (low === null) throw new Deno.errors.UnexpectedEof();
  return high << 8 | low;
}
async function readShort ( buf , ) { const high = await buf . readByte ( ) ; if ( high === null ) return null ; const low = await buf . readByte ( ) ; if ( low === null ) throw new Deno . errors . UnexpectedEof ( ) ; return high << 8 | low ; }
Read big endian 16bit short from BufReader
Read big endian 16bit short from BufReader