code: func NewWriter(w io.Writer) *Writer {
  	return &Writer{
  		w:   w,
  		enc: make([]byte, MaxEncodedLen(maxUncompressedChunkLen)),
  	}
  }
docs: // NewWriter returns a new Writer that compresses to w, using the framing
  // format described at
  // https://code.google.com/p/snappy/source/browse/trunk/framing_format.txt