code: func readOutPoint(r io.Reader, pver uint32, version int32, op *OutPoint) error {
  	_, err := io.ReadFull(r, op.Hash[:])
  	if err != nil {
  		return err
  	}
  
  	op.Index, err = binarySerializer.Uint32(r, littleEndian)
  	return err
  }
docs: // readOutPoint reads the next sequence of bytes from r as an OutPoint.