func (r *Reader) ReadUint16() uint16 {
	if r.err != nil {
		return 0
	}

	buf := r.buf[:2]

	var readN int
	readN, r.err = io.ReadFull(r.reader, buf)
	if readN < 2 {
		return 0
	}
	return binary.BigEndian.Uint16(buf)
}
func (r *Reader) ReadUint16() uint16 {
	if r.err != nil {
		return 0
	}

	buf := r.buf[:2]

	var readN int
	readN, r.err = io.ReadFull(r.reader, buf)
	if readN < 2 {
		return 0
	}
	return binary.BigEndian.Uint16(buf)
}
func ( r * Reader ) ReadUint16 ( ) uint16 { if r . err != nil { return 0 } buf := r . buf [ : 2 ] var readN int readN , r . err = io . ReadFull ( r . reader , buf ) if readN < 2 { return 0 } return binary . BigEndian . Uint16 ( buf ) }
// ReadUint16 reads a uint16.
ReadUint16 reads a uint16 .