// WriteUint16 writes a uint16 to the io.Writer
WriteUint16 writes a uint16 to the io.Writer
// WriteUint16 writes a uint16 to the io . Writer
func (w *Writer) WriteUint16(n uint16) {
	if w.err != nil {
		return
	}
	sizeBuf := intBufferPool.Get().(*intBuffer)
	defer intBufferPool.Put(sizeBuf)
	binary.BigEndian.PutUint16(sizeBuf[:2], n)
	if _, err := w.writer.Write(sizeBuf[:2]); err != nil {
		w.err = err
	}
}
func ( w * Writer ) WriteUint16 ( n uint16 ) { if w . err != nil { return } sizeBuf := intBufferPool . Get ( ) . ( * intBuffer ) defer intBufferPool . Put ( sizeBuf ) binary . BigEndian . PutUint16 ( sizeBuf [ : 2 ] , n ) if _ , err := w . writer . Write ( sizeBuf [ : 2 ] ) ; err != nil { w . err = err } }
WriteUint16 writes a uint16 to the io.Writer
WriteUint16 writes a uint16 to the io . Writer